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 helpers.c ipaaction.c xml_helper.c output_handler.c OBJS = worker.o debug.o helpers.o ipaaction.o xml_helper.o output_handler.o all: worker $(OBJS): util.h helpers.h ipaaction.h output_handler.h xml_helper.h worker: $(OBJS) $(CC) $(LDFLAGS) -o $@ $+ indent: indent $(INDENTFLAGS) $(SRCS) clean: rm *.o