summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/makefile
diff options
context:
space:
mode:
authorMatthew Cline <zelgadis@sourceforge.net>2009-11-07 03:39:41 -0800
committerMatthew Cline <zelgadis@sourceforge.net>2009-11-07 03:39:41 -0800
commit10af6d0aea7f5581ea0bf4f6eeaaca4684bbfd15 (patch)
tree26ec92ca9929e1fbb953956f7fe16299d4da7bff /crawl-ref/source/makefile
parent0436dabebd85304f033734b140aab411a76d3712 (diff)
downloadcrawl-ref-10af6d0aea7f5581ea0bf4f6eeaaca4684bbfd15.tar.gz
crawl-ref-10af6d0aea7f5581ea0bf4f6eeaaca4684bbfd15.zip
makefile: New variable EXTERNAL_DEFINES
You can use EXTERNAL_DEFINES on the make command line to add -DFOO defines which will be picked up by fastdep.
Diffstat (limited to 'crawl-ref/source/makefile')
-rw-r--r--crawl-ref/source/makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/makefile b/crawl-ref/source/makefile
index 6aa60a5627..7938dbb59d 100644
--- a/crawl-ref/source/makefile
+++ b/crawl-ref/source/makefile
@@ -33,6 +33,8 @@ CFOTHERS := -fno-strict-aliasing -pipe $(EXTERNAL_FLAGS)
CFOTHERS_L := -fsigned-char
CFWARN := -Wall
+DEFINES := $(EXTERNAL_DEFINES)
+
#
# The GCC and GXX variables are set later.
#