Enable all compiler warnings

This commit is contained in:
logicog
2025-09-26 21:00:47 +02:00
committed by René van Dorst
parent d18d08287d
commit d4ccebeaa7
+4 -3
View File
@@ -1,4 +1,5 @@
CC = gcc CC = gcc
CCFLAGS = -Wall -o
all: injector fileadder httpd_sim all: injector fileadder httpd_sim
@@ -6,10 +7,10 @@ clean:
rm *.o rm *.o
injector: injector.c injector: injector.c
gcc $^ -o $@ gcc $^ $(CCFLAGS) $@
fileadder: fileadder.c fileadder: fileadder.c
gcc $^ -o $@ gcc $^ $(CCFLAGS) $@
httpd_sim: httpd_sim.c httpd_sim.h httpd_sim: httpd_sim.c httpd_sim.h
gcc $< -o $@ -I/usr/include/json-c -ljson-c gcc $< $(CCFLAGS) $@ -I/usr/include/json-c -ljson-c