freebsd-ports/games/exmars/files/patch-Makefile
Pav Lucistnik 1c72a7109e exMARS combines the latest advance in corewar simulation technology, with
proactive performance optimizations.

Actually exMARS is a redcode simulator, just like exhaust and pMARS. In fact,
I have shamelessly taken sourcecode from pMARS, exhaust, some ideas from
qMars, a shot of optimizations, shook everything well, and garnished
everything with a high level interface for Ruby.

PR:		ports/83576
Submitted by:	Alejandro Pulver <alejandro@varnet.biz>
2005-07-18 21:12:39 +00:00

21 lines
917 B
Text

--- Makefile.orig Thu Oct 16 04:59:17 2003
+++ Makefile Thu Jul 7 15:32:24 2005
@@ -1,9 +1,9 @@
# default flags
-CCFLAGS = -O3 -fomit-frame-pointer
+CCFLAGS = ${OPT}
# my own highly tuned settings
#CC = gcc-3.3.1
-#CCFLAGS = -O3 -fomit-frame-pointer -fforce-addr -funroll-all-loops -fstrict-aliasing -malign-double -fprefetch-loop-arrays -maccumulate-outgoing-args -minline-all-stringops -finline-functions -finline-limit=800 -ffast-math -mno-align-stringops
+OPT = -O3 -fomit-frame-pointer -fforce-addr -funroll-all-loops -fstrict-aliasing -malign-double -fprefetch-loop-arrays -maccumulate-outgoing-args -minline-all-stringops -finline-functions -finline-limit=800 -ffast-math -mno-align-stringops
#CCFLAGS += -mfpmath=sse,387 -mmmx -msse -march=pentium3
# develomental flags
@@ -21,4 +21,4 @@
rm -f exmars Mars.so *.o *~
distclean: clean
- rm -f *.da
\ No newline at end of file
+ rm -f *.da