diff options
Diffstat (limited to 'worker/Makefile')
-rw-r--r-- | worker/Makefile | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/worker/Makefile b/worker/Makefile index 1e7c6cf..36fbde7 100644 --- a/worker/Makefile +++ b/worker/Makefile @@ -1,5 +1,13 @@ -CFLAGS=-Wall `xml2-config --cflags` `xslt-config --cflags` +CFLAGS=-Wall -Werror `xml2-config --cflags` `xslt-config --cflags` LDFLAGS=`xml2-config --libs` `xslt-config --libs` -worker: worker.c - $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $+ + +SRCS = worker.c debug.c +OBJS = worker.o debug.o + +all: worker + +$(OBJS): util.h + +worker: worker.o debug.o + $(CC) $(LDFLAGS) -o $@ $+ |