summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index a863bd4..0f6743e 100644
--- a/Makefile
+++ b/Makefile
@@ -1,10 +1,12 @@
+CFLAGS=-ggdb -Wall -Wstrict-prototypes -Wmissing-prototypes
+
all: econproxy econserv
econproxy: econproxy.c util.c util.h econproto.h
- gcc -ggdb -Wall -o $@ econproxy.c util.c
+ gcc $(CFLAGS) -o $@ econproxy.c util.c
econserv: econserv.c util.c util.h econproto.h
- gcc -ggdb -Wall -o $@ $< util.c
+ gcc $(CFLAGS) -Wall -o $@ $< util.c
clean:
rm -f econproxy econserv