print the reason for parse errors in error messages
[project/uci.git] / Makefile
1 CC=gcc
2 CFLAGS=-g -O2 -Wall -pedantic -std=gnu99 -Wno-unused -Werror
3
4 all: parsetest
5 parsetest: libuci.o test.o
6         $(CC) $(CFLAGS) -o $@ $^
7
8 libuci.o: libuci.c parse.c uci.h list.c err.h
9 test.o: test.c uci.h
10
11 clean:
12         rm -f parsetest *.o