X-Git-Url: https://git.archive.openwrt.org/?p=project%2Fuci.git;a=blobdiff_plain;f=Makefile;h=645ec65a53a725726bd9b19763d0dfee1d808671;hp=3b69678ba692c115dcada1416d5217b7a020d282;hb=25424d34314f5da11305104c78cc82beff801e16;hpb=d5b661a39ea9320c58f44cb4b32691deffc7cb30 diff --git a/Makefile b/Makefile index 3b69678..645ec65 100644 --- a/Makefile +++ b/Makefile @@ -1,12 +1,12 @@ CC=gcc -CFLAGS=-O2 -Wall -pedantic -std=gnu99 +CFLAGS=-g -O2 -Wall -pedantic -std=gnu99 -Wno-unused -Werror all: parsetest parsetest: libuci.o test.o $(CC) $(CFLAGS) -o $@ $^ -libuci.o: libuci.c parse.c libuci.h -test.o: test.c libuci.h +libuci.o: libuci.c parse.c uci.h list.c err.h +test.o: test.c uci.h clean: rm -f parsetest *.o