[ darkhttpd-1.1 release ]

Make the Makefile work with Solaris make(1S)
This commit is contained in:
Emil Mikulic 2003-12-13 14:19:06 +00:00
parent 27a35821a1
commit c4f78a124c

View File

@ -2,8 +2,8 @@
# darkhttpd (c) 2003, Emil Mikulic. # darkhttpd (c) 2003, Emil Mikulic.
# #
CC ?= cc CC?=cc
CFLAGS ?= -pipe -O2 CFLAGS?=-pipe -O2
TARGETS = bsd linux solaris TARGETS = bsd linux solaris
.PHONY: all $(TARGETS) .PHONY: all $(TARGETS)
@ -23,7 +23,7 @@ solaris:
make darkhttpd LIBS=-lxnet make darkhttpd LIBS=-lxnet
darkhttpd: darkhttpd.c darkhttpd: darkhttpd.c
$(CC) $(CFLAGS) $(LIBS) $< -o $@ $(CC) $(CFLAGS) $(LIBS) darkhttpd.c -o darkhttpd
clean: clean:
rm -f darkhttpd core darkhttpd.core rm -f darkhttpd core darkhttpd.core