summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Mohr <manuel.mohr@kit.edu>2013-11-19 14:29:55 +0100
committerManuel Mohr <manuel.mohr@kit.edu>2013-11-19 14:29:55 +0100
commit9e3238f386eb4d947b01bd61df6771692121b83d (patch)
tree88e17dd0db253f93d09b314fb737926f99ffcbc5
parent810e626b12e5facf4f8c254f101edc5bcaf51076 (diff)
Enable GC assertions and compile-time warnings.
-rw-r--r--Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 6426b78..eb92b44 100644
--- a/Makefile
+++ b/Makefile
@@ -46,8 +46,9 @@ GUESSED_TARGET := $(shell $(CC) -dumpmachine)
TARGET ?= $(GUESSED_TARGET)
CC = $(TARGET)-gcc
-CPPFLAGS = -Iinclude/ -DATOMIC_UNCOLLECTABLE -DNO_EXECUTE_PERMISSION -DALL_INTERIOR_POINTERS
-CFLAGS = -O2 -g
+CPPFLAGS = -Iinclude/ -DATOMIC_UNCOLLECTABLE -DNO_EXECUTE_PERMISSION -DALL_INTERIOR_POINTERS
+CPPFLAGS += -DGC_ASSERTIONS
+CFLAGS = -O2 -g -Wall -W
# Architecture-specific stuff
ifeq ($(findstring x86_64, $(TARGET)), x86_64)