darkhttpd/Makefile
2011-01-15 14:37:56 +11:00

14 lines
219 B
Makefile

CC?=cc
CFLAGS?=-O
LIBS=`[ \`uname\` = "SunOS" ] && echo -lsocket -lnsl`
.PHONY: all clean
all: darkhttpd
darkhttpd: darkhttpd.c
$(CC) $(CFLAGS) $(LIBS) darkhttpd.c -o $@
clean:
rm -f darkhttpd core darkhttpd.core