diff options
author | Ian Lynagh <igloo@earth.li> | 2012-01-08 19:36:14 +0000 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2012-01-08 23:11:06 +0000 |
commit | 9e452874df05f5f98243576ffaefc2f356358038 (patch) | |
tree | bad3b659234883643d088b48034a6bd99e2b851f /ghc.mk | |
parent | 4c49eb512499255fe7de0e6cfc08ed138957d583 (diff) | |
download | haskell-9e452874df05f5f98243576ffaefc2f356358038.tar.gz |
Refactoring
This is working towards being able to put ghcautoconf.h and
ghcplatform.h in includes/dist
Diffstat (limited to 'ghc.mk')
-rw-r--r-- | ghc.mk | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -1111,7 +1111,7 @@ ifeq "$(BootingFromHc)" "YES" # flags explicitly to C compilations. SRC_CC_OPTS += -DNO_REGS -DUSE_MINIINTERPRETER SRC_CC_OPTS += -D__GLASGOW_HASKELL__=$(ProjectVersionInt) -SRC_CC_OPTS += -I$(GHC_INCLUDE_DIR) +SRC_CC_OPTS += $(addprefix -I,$(GHC_INCLUDE_DIRS)) endif # ----------------------------------------------------------------------------- @@ -1132,10 +1132,12 @@ CLEAN_FILES += libraries/bootstrapping.conf CLEAN_FILES += libraries/integer-gmp/cbits/GmpDerivedConstants.h CLEAN_FILES += libraries/integer-gmp/cbits/mkGmpDerivedConstants -# These two are no longer generated, but we still clean them for a while +# These four are no longer generated, but we still clean them for a while # as they may still be in old GHC trees: CLEAN_FILES += includes/GHCConstants.h CLEAN_FILES += includes/DerivedConstants.h +CLEAN_FILES += includes/ghcautoconf.h +CLEAN_FILES += includes/ghcplatform.h clean : clean_files clean_libraries |