aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 7c9c247..5b07846 100644
--- a/Makefile
+++ b/Makefile
@@ -1,13 +1,13 @@
CC=cc
-CFLAGS=-O2 -Wall
+CFLAGS=-O2 -Wall -Wextra
LIBS=`[ \`uname\` = "SunOS" ] && echo -lsocket -lnsl`
TARGETS = bsd linux solaris
.PHONY: all $(TARGETS)
-all: darkhttpd
+all: shttpd
-darkhttpd: darkhttpd.c
- $(CC) $(CFLAGS) $(LIBS) darkhttpd.c -o $@
+darkhttpd: shttpd.c
+ $(CC) $(CFLAGS) $(LIBS) shttpd.c -o $@
clean:
- rm -f darkhttpd
+ rm -f shttpd