freebsd-ports/games/fmars/files/patch-Makefile
Pav Lucistnik feaccdffa5 fmars is Fast Memory Array Redcode Simulator
A specialized simulator for the game of Corewars. It's designed to be of
particular use in automated redcode optimizers and evolvers. fmars borrows the
idea from Martin Ankerl's qmars and pushes it to the extreme.

PR:		ports/83577
Submitted by:	Alejandro Pulver <alejandro@varnet.biz>
2005-07-22 22:34:47 +00:00

18 lines
577 B
Text

--- Makefile.orig Sun May 15 12:54:02 2005
+++ Makefile Thu Jul 7 19:26:25 2005
@@ -5,13 +5,12 @@
#INDENT = indent
-CC = gcc
-CFLAGS = -O2 -fomit-frame-pointer -fpic -fno-strict-aliasing #-march=athlon-xp
+CFLAGS = $(OPT)
+OPT = -O2 -fomit-frame-pointer
#DEBUG = -g -fno-omit-frame-pointer -O0
#options for fm_sim.c only:
#no-crossjumping - gcc 3.3 breaks computed gotos, this seems to help a little
-OPTS = -fno-cse-follow-jumps -fno-crossjumping
#OPTS += -fno-strict-aliasing
#CFLAGS = $(CFLAGS_OPT) -fverbose-asm -W -Wimplicit -Wparentheses -Wpointer-arith \