mirror of
https://github.com/emikulic/darkhttpd.git
synced 2023-08-10 21:13:08 +03:00
17 lines
309 B
Makefile
17 lines
309 B
Makefile
# darkhttpd (c) 2003, 2004, 2006 Emil Mikulic.
|
|
|
|
CC?=cc
|
|
CFLAGS?=-O
|
|
LIBS=`[ \`/usr/bin/uname\` = "SunOS" ] && echo -lsocket -lnsl`
|
|
|
|
TARGETS = bsd linux solaris
|
|
.PHONY: all $(TARGETS)
|
|
|
|
all: darkhttpd
|
|
|
|
darkhttpd: darkhttpd.c
|
|
$(CC) $(CFLAGS) $(LIBS) darkhttpd.c -o $@
|
|
|
|
clean:
|
|
rm -f darkhttpd core darkhttpd.core
|