summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorKevin Chabowski <kevin@kch42.de>2013-08-01 23:01:53 +0200
committerKevin Chabowski <kevin@kch42.de>2013-08-01 23:01:53 +0200
commit96919bf34222c0c3f37e1085342b81c63da386c8 (patch)
treea4e37d4a267dea3a8f2dee077533bc3fd6d8d222 /Makefile
parent8e128e5afd495c46ab54eaff2c602e420eb59c0d (diff)
downloadnebula2-96919bf34222c0c3f37e1085342b81c63da386c8.tar.gz
nebula2-96919bf34222c0c3f37e1085342b81c63da386c8.tar.bz2
nebula2-96919bf34222c0c3f37e1085342b81c63da386c8.zip
Moved BMP code to own file.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 76a46b1..e55ac71 100644
--- a/Makefile
+++ b/Makefile
@@ -6,8 +6,9 @@ SFMTFLAGS=-DHAVE_SSE2 -DSFMT_MEXP=19937
OPTIMIZE=-O3 -fno-strict-aliasing
#OPTIMIZE=-ggdb
-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
+OBJECTS=nebula2.o config.o render.o statefile.o color.o mutex_helpers.o bmp.o
+nebula2: $(OBJECTS) iniparser/libiniparser.a SFMT/SFMT.c
+ $(CC) $(CFLAGS) $(OPTIMIZE) $(SFMTFLAGS) $(LIBS) -o nebula2 $(OBJECTS) iniparser/libiniparser.a SFMT/SFMT.c
iniparser/libiniparser.a:
make -C iniparser libiniparser.a