darkhttpd/Makefile
2013-06-10 18:53:19 +10:00

14 lines
219 B
Makefile

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