summaryrefslogtreecommitdiffstats
path: root/worker/Makefile
blob: f1d6808678ad401abf769cfc54e8e76661d27319 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21

CFLAGS=-Wall -Werror `xml2-config --cflags`  `xslt-config --cflags` `curl-config --cflags` -g
LDFLAGS=`xml2-config --libs`  `xslt-config --libs` `curl-config --libs` -g
INDENTFLAGS=-kr -nut -l80

SRCS = worker.c debug.c
OBJS = worker.o debug.o

all: worker

$(OBJS): util.h

worker: worker.o debug.o
	$(CC) $(LDFLAGS) -o $@ $+


indent:
	indent $(INDENTFLAGS) $(SRCS)

clean:
	rm *.o