summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
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