2003-11-18 11:07:51 +03:00
|
|
|
ALLWARNS = -Wall -Wshadow -Wpointer-arith -Wcast-qual \
|
2003-06-04 18:29:28 +04:00
|
|
|
-Wcast-align -Wwrite-strings -Wconversion -Waggregate-return \
|
|
|
|
-Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations \
|
|
|
|
-Wredundant-decls -Wnested-externs -Wlong-long -Winline
|
|
|
|
|
2003-12-13 10:24:43 +03:00
|
|
|
CFLAGS = -O -pipe -ansi -pedantic -g $(ALLWARNS)
|
2003-02-20 07:25:12 +03:00
|
|
|
|
|
|
|
all:
|
|
|
|
gcc -o out $(CFLAGS) darkhttpd.c
|
|
|
|
|
|
|
|
splint:
|
2003-06-04 18:29:28 +04:00
|
|
|
splint -weak -skipposixheaders +posixlib +stats darkhttpd.c
|