aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authormutantturkey <mutantturke@gmail.com>2012-07-26 11:01:54 -0400
committermutantturkey <mutantturke@gmail.com>2012-07-26 11:01:54 -0400
commita17985184ea8d4a1f01accba167c6ea207661469 (patch)
tree48cb80840946ee129807462af6c5972c4f39be2c /Makefile
parentf70ec013cdb6c5a610487c9c19c397a8d99a3f4d (diff)
got rid of some build warnings, updated makefileHEADmaster
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