summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
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