From: simonpj Date: Wed, 19 Apr 2000 16:24:00 +0000 (+0000) Subject: [project @ 2000-04-19 16:24:00 by simonpj] X-Git-Tag: Approximately_9120_patches~4648 X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=commitdiff_plain;h=8df1016017197b063559797692b0456ee9deda21 [project @ 2000-04-19 16:24:00 by simonpj] - Don't rm the .o file when splitting. Doing so forces grotesque amounts of recompilation --- diff --git a/mk/target.mk b/mk/target.mk index 4928732..11fe594 100644 --- a/mk/target.mk +++ b/mk/target.mk @@ -462,7 +462,7 @@ endef # Extra stuff for compiling Haskell files with $(SplitObjs): HC_SPLIT_PRE= \ - $(RM) $@ ; if [ ! -d $(basename $@) ]; then mkdir $(basename $@); else \ + $@ ; if [ ! -d $(basename $@) ]; then mkdir $(basename $@); else \ $(FIND) $(basename $@) -name '*.$(way_)o' -print | xargs $(RM) __rm_food ; fi HC_SPLIT_POST = touch $@