From 7337fc891d0b38e35f9b0db5bf2989b819f7412b Mon Sep 17 00:00:00 2001 From: Sumit Bose Date: Wed, 5 Nov 2008 11:50:45 +0100 Subject: some refactoring --- worker/Makefile | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) (limited to 'worker/Makefile') 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 $@ $+ -- cgit