darkhttpd/trunk/Makefile

30 lines
484 B
Makefile
Raw Normal View History

2003-12-13 17:08:36 +03:00
#
# darkhttpd (c) 2003, Emil Mikulic.
#
2003-12-13 17:08:36 +03:00
CC ?= cc
CFLAGS ?= -pipe -O2
TARGETS = bsd linux solaris
.PHONY: all $(TARGETS)
all:
2003-12-13 17:08:36 +03:00
@echo "+----- ---- --- -- -"
@echo "| Please run:"
@echo "| make <target>"
@echo "| Where target is one of the following:"
@echo "| $(TARGETS)"
@echo "+----- ---- --- -- -"
bsd linux:
make darkhttpd
solaris:
make darkhttpd LIBS=-lxnet
darkhttpd: darkhttpd.c
$(CC) $(CFLAGS) $(LIBS) $< -o $@
2003-12-13 17:08:36 +03:00
clean:
rm -f darkhttpd core darkhttpd.core