PROG = xaagent SHELL = /bin/bash CFLAGS = -Wall -I. -g LDFLAGS = LOADLIBES = -ljson-c -luuid -L. -lxaal -lsqlite3 -pthread -lfcgi -luriparser all: $(PROG) clean: -rm -f *.o *~ -rm -f run/* proper: clean -rm -f $(PROG) test: all @echo "Starting lighttpd on port 8888" -@rm -f ./run/lighttpd-error.log -@export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:.; /usr/sbin/lighttpd -f ./lighttpd.conf -D ; cat ./run/lighttpd-error.log Makefile.dep: $(PROG:=.c) $(CC) $(CFLAGS) -MM $^ > $@ include Makefile.dep .PHONY: all clean proper test