darkhttpd/Makefile

14 lines
219 B
Makefile
Raw Normal View History

CC?=cc
2004-12-27 15:54:54 +03:00
CFLAGS?=-O
LIBS=`[ \`uname\` = "SunOS" ] && echo -lsocket -lnsl`
2003-12-13 17:08:36 +03:00
2010-11-24 15:33:31 +03:00
.PHONY: all clean
2006-12-14 13:10:46 +03:00
all: darkhttpd
2003-12-13 17:08:36 +03:00
darkhttpd: darkhttpd.c
2006-12-14 13:10:46 +03:00
$(CC) $(CFLAGS) $(LIBS) darkhttpd.c -o $@
2003-12-13 17:08:36 +03:00
clean:
rm -f darkhttpd core darkhttpd.core