From e1dd4d63c1e3cd63b1ebc84d54f91f91afa16dba Mon Sep 17 00:00:00 2001 From: Kevin Chabowski Date: Tue, 16 Jul 2013 14:23:19 +0200 Subject: Reading of config implemented. --- Makefile | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index f4e475c..81c41cb 100644 --- a/Makefile +++ b/Makefile @@ -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 -- cgit v1.2.3-54-g00ecf