diff options
author | mutantturkey <crazycal00@gmail.com> | 2011-01-02 12:32:27 -0500 |
---|---|---|
committer | mutantturkey <crazycal00@gmail.com> | 2011-01-02 12:32:27 -0500 |
commit | bc09d998823c916e542429b7c6087d392fe4d186 (patch) | |
tree | bbb12e5d35a32ae6b4abc25e91ff699f57c7e366 /Makefile | |
parent | 56671d969244928663cd0c99f890c668f12fc5e1 (diff) |
added -O2 -Wall to CFLAGS, removed nonexisting files from clean
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -1,7 +1,6 @@ -CC?=cc -CFLAGS?=-O +CC=cc +CFLAGS=-O2 -Wall LIBS=`[ \`uname\` = "SunOS" ] && echo -lsocket -lnsl` - TARGETS = bsd linux solaris .PHONY: all $(TARGETS) @@ -11,4 +10,4 @@ darkhttpd: darkhttpd.c $(CC) $(CFLAGS) $(LIBS) darkhttpd.c -o $@ clean: - rm -f darkhttpd core darkhttpd.core + rm -f darkhttpd |