From a17985184ea8d4a1f01accba167c6ea207661469 Mon Sep 17 00:00:00 2001 From: mutantturkey Date: Thu, 26 Jul 2012 11:01:54 -0400 Subject: got rid of some build warnings, updated makefile --- Makefile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'Makefile') 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 -- cgit v1.2.3