mirror of
https://github.com/emikulic/darkhttpd.git
synced 2023-08-10 21:13:08 +03:00
[ darkhttpd-1.1 release ]
Make the Makefile work with Solaris make(1S)
This commit is contained in:
parent
27a35821a1
commit
c4f78a124c
@ -2,8 +2,8 @@
|
||||
# darkhttpd (c) 2003, Emil Mikulic.
|
||||
#
|
||||
|
||||
CC ?= cc
|
||||
CFLAGS ?= -pipe -O2
|
||||
CC?=cc
|
||||
CFLAGS?=-pipe -O2
|
||||
|
||||
TARGETS = bsd linux solaris
|
||||
.PHONY: all $(TARGETS)
|
||||
@ -23,7 +23,7 @@ solaris:
|
||||
make darkhttpd LIBS=-lxnet
|
||||
|
||||
darkhttpd: darkhttpd.c
|
||||
$(CC) $(CFLAGS) $(LIBS) $< -o $@
|
||||
$(CC) $(CFLAGS) $(LIBS) darkhttpd.c -o darkhttpd
|
||||
|
||||
clean:
|
||||
rm -f darkhttpd core darkhttpd.core
|
||||
|
Loading…
Reference in New Issue
Block a user