diff options
author | Kevin Chabowski <kevin@kch42.de> | 2013-08-01 22:54:27 +0200 |
---|---|---|
committer | Kevin Chabowski <kevin@kch42.de> | 2013-08-01 22:54:27 +0200 |
commit | 8e128e5afd495c46ab54eaff2c602e420eb59c0d (patch) | |
tree | b4cb1e579f80f39db7169c0eb92e3a69181f0ee8 /Makefile | |
parent | a2fd89f963a7374b29f7831e67b443c3d42c6e3c (diff) | |
download | nebula2-8e128e5afd495c46ab54eaff2c602e420eb59c0d.tar.gz nebula2-8e128e5afd495c46ab54eaff2c602e420eb59c0d.tar.bz2 nebula2-8e128e5afd495c46ab54eaff2c602e420eb59c0d.zip |
Nebulabrot algo and rendering implemented.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 10 |
1 files changed, 7 insertions, 3 deletions
@@ -1,15 +1,19 @@ CC=gcc CFLAGS=-Wall -Werror -pedantic LIBS=-lpthread +# (Optimization) flags as suggested by SFMT docu. +SFMTFLAGS=-DHAVE_SSE2 -DSFMT_MEXP=19937 +OPTIMIZE=-O3 -fno-strict-aliasing +#OPTIMIZE=-ggdb -nebula2: nebula2.o config.o render.o statefile.o mutex_helpers.o iniparser/libiniparser.a - $(CC) $(CFLAGS) $(LIBS) -o nebula2 nebula2.o config.o render.o statefile.o mutex_helpers.o iniparser/libiniparser.a +nebula2: nebula2.o config.o render.o statefile.o color.o mutex_helpers.o iniparser/libiniparser.a SFMT/SFMT.c + $(CC) $(CFLAGS) $(OPTIMIZE) $(SFMTFLAGS) $(LIBS) -o nebula2 nebula2.o config.o render.o statefile.o color.o mutex_helpers.o iniparser/libiniparser.a SFMT/SFMT.c iniparser/libiniparser.a: make -C iniparser libiniparser.a %.o:%.c - $(CC) $(CFLAGS) -c -o $@ $< + $(CC) $(CFLAGS) $(OPTIMIZE) $(SFMTFLAGS) -c -o $@ $< clean: rm -f *.o |