diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 17 |
1 files changed, 12 insertions, 5 deletions
@@ -1,11 +1,18 @@ -CC=gcc -Wall -Werror -pedantic -std=c99 - -all: +CC=gcc +CFLAGS=-Wall -Werror -pedantic -std=c99 -static +LIBS=-Liniparser -liniparser +nebula2: nebula2.o iniparser/libiniparser.a + $(CC) $(CFLAGS) -o nebula2 nebula2.o iniparser/libiniparser.a +iniparser/libiniparser.a: + make -C iniparser libiniparser.a %.o:%.c - $(CC) -c -o $@ $< + $(CC) $(CFLAGS) -c -o $@ $< clean: - rm -f *.o
\ No newline at end of file + rm -f *.o + +nuke: clean + rm -f nebula2
\ No newline at end of file |