From 10af6d0aea7f5581ea0bf4f6eeaaca4684bbfd15 Mon Sep 17 00:00:00 2001 From: Matthew Cline Date: Sat, 7 Nov 2009 03:39:41 -0800 Subject: 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. --- crawl-ref/source/makefile | 2 ++ 1 file changed, 2 insertions(+) (limited to 'crawl-ref/source/makefile') 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. # -- cgit v1.2.3-54-g00ecf