diff options
author | Sumit Bose <sbose@nb.localdomain> | 2008-11-05 11:50:45 +0100 |
---|---|---|
committer | Sumit Bose <sbose@nb.localdomain> | 2008-11-05 11:50:45 +0100 |
commit | 7337fc891d0b38e35f9b0db5bf2989b819f7412b (patch) | |
tree | 86686f60597fd75e004d68a453e2acf486858641 /worker/Makefile | |
parent | 7b7ee7e9899c7aa8a616bdbc5a83d0c11b75632a (diff) | |
download | ipa_policy-7337fc891d0b38e35f9b0db5bf2989b819f7412b.tar.gz ipa_policy-7337fc891d0b38e35f9b0db5bf2989b819f7412b.tar.xz ipa_policy-7337fc891d0b38e35f9b0db5bf2989b819f7412b.zip |
some refactoring
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 $@ $+ |