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