PROG = fastcgi CFLAGS = -Wall -I. -g LDFLAGS = CFLAGS_FCGI = -I/usr/include/ClearSilver LOADLIBES = -lfcgi -lneo_cgi -lneo_cs -lneo_utl -lz 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 -@/usr/sbin/lighttpd -f ./lighttpd/lighttpd.conf -D ; cat ./run/lighttpd-error.log Makefile.dep: $(PROG:=.c) $(CC) $(CFLAGS) -MM $^ > $@ include Makefile.dep .PHONY: all clean proper test