mirror of
https://github.com/emikulic/darkhttpd.git
synced 2023-08-10 21:13:08 +03:00
14 lines
219 B
Makefile
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
|