summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan C <ianc@noddybox.co.uk>2006-11-04 01:16:49 +0000
committerIan C <ianc@noddybox.co.uk>2006-11-04 01:16:49 +0000
commitf86b3938a7e5d2b01f0f2e6756d3efdbd2994641 (patch)
tree9fe451eab93412d92af657ed03cb300ddb3d406f
parentc283a678a7fd45c6f2b67f940292d70da46f131f (diff)
Added abaility to set additional CFLAGS
-rw-r--r--Makefile3
-rw-r--r--arm9/Makefile3
2 files changed, 4 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 93d2484..00d7675 100644
--- a/Makefile
+++ b/Makefile
@@ -33,7 +33,8 @@ ARCH := -mthumb -mthumb-interwork
CFLAGS := -g -Wall -O2\
-mcpu=arm9tdmi -mtune=arm9tdmi -fomit-frame-pointer\
-ffast-math \
- $(ARCH)
+ $(ARCH) \
+ $(ADDITIONAL_CFLAGS)
CFLAGS += $(INCLUDE) -DARM9
CXXFLAGS := $(CFLAGS)
diff --git a/arm9/Makefile b/arm9/Makefile
index 93d2484..00d7675 100644
--- a/arm9/Makefile
+++ b/arm9/Makefile
@@ -33,7 +33,8 @@ ARCH := -mthumb -mthumb-interwork
CFLAGS := -g -Wall -O2\
-mcpu=arm9tdmi -mtune=arm9tdmi -fomit-frame-pointer\
-ffast-math \
- $(ARCH)
+ $(ARCH) \
+ $(ADDITIONAL_CFLAGS)
CFLAGS += $(INCLUDE) -DARM9
CXXFLAGS := $(CFLAGS)