summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorChristian Franke <nobody@nowhere.ws>2012-01-03 01:50:41 +0100
committerChristian Franke <nobody@nowhere.ws>2012-01-03 01:50:41 +0100
commitfad43aa28bdf319d346c4d6ca1dd4b6971267eca (patch)
treeb141a346b3b5199ac7928142dd285a1144ee0735 /Makefile
parented6be798a8f21bface5174f4fd8d1f5ff12d4a4f (diff)
Bring some structure to this whole mess
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
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