From fad43aa28bdf319d346c4d6ca1dd4b6971267eca Mon Sep 17 00:00:00 2001 From: Christian Franke Date: Tue, 3 Jan 2012 01:50:41 +0100 Subject: Bring some structure to this whole mess --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index b2eb01c..00c8f33 100644 --- a/Makefile +++ b/Makefile @@ -83,7 +83,7 @@ OBJDIR = . # List C source files here. (C dependencies are automatically generated.) -SRC = $(TARGET).c +SRC = $(wildcard *.c) # List C++ source files here. (C dependencies are automatically generated.) @@ -154,6 +154,8 @@ CFLAGS += -fpack-struct CFLAGS += -fshort-enums CFLAGS += -Wall CFLAGS += -Wstrict-prototypes +CFLAGS += -Werror +CFLAGS += -pedantic #CFLAGS += -mshort-calls #CFLAGS += -fno-unit-at-a-time #CFLAGS += -Wundef -- cgit v1.2.1