summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorKevin Chabowski <kevin@kch42.de>2013-07-20 14:01:01 +0200
committerKevin Chabowski <kevin@kch42.de>2013-07-20 14:01:01 +0200
commit8e6850107adb5ca37ed0e9a4500282b2e8743294 (patch)
treeccd4ef7d03e79a5c9f32359f643275cdd27eb67c /Makefile
parent2992a3f013aaa833f2c72ef1e368a9752b2bb889 (diff)
downloadnebula2-8e6850107adb5ca37ed0e9a4500282b2e8743294.tar.gz
nebula2-8e6850107adb5ca37ed0e9a4500282b2e8743294.tar.bz2
nebula2-8e6850107adb5ca37ed0e9a4500282b2e8743294.zip
Rough structure done. Parallel working should work.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index d3c357f..238d359 100644
--- a/Makefile
+++ b/Makefile
@@ -1,9 +1,9 @@
CC=gcc
-CFLAGS=-Wall -Werror -pedantic -std=c99 -static
-LIBS=-Liniparser -liniparser
+CFLAGS=-Wall -Werror -pedantic
+LIBS=-lpthread
-nebula2: nebula2.o config.o iniparser/libiniparser.a
- $(CC) $(CFLAGS) -o nebula2 nebula2.o config.o iniparser/libiniparser.a
+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
iniparser/libiniparser.a:
make -C iniparser libiniparser.a
@@ -15,4 +15,4 @@ clean:
rm -f *.o
nuke: clean
- rm -f nebula2 \ No newline at end of file
+ rm -f nebula2