From: simonmar Date: Wed, 10 May 2000 11:56:15 +0000 (+0000) Subject: [project @ 2000-05-10 11:56:15 by simonmar] X-Git-Tag: Approximately_9120_patches~4532 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=77977ede2807124341573b92cc792198e654f067;p=ghc-hetmet.git [project @ 2000-05-10 11:56:15 by simonmar] Put back the '$(RM) $@' in the rule for building library modules when splitting, until we fix this problem properly. --- diff --git a/mk/target.mk b/mk/target.mk index 23adc85..81f4634 100644 --- a/mk/target.mk +++ b/mk/target.mk @@ -387,7 +387,7 @@ endef # Extra stuff for compiling Haskell files with $(SplitObjs): HC_SPLIT_PRE= \ -if [ ! -d $(basename $@) ]; then mkdir $(basename $@); else \ + $(RM) $@ ; if [ ! -d $(basename $@) ]; then mkdir $(basename $@); else \ $(FIND) $(basename $@) -name '*.$(way_)o' -print | xargs $(RM) __rm_food ; fi HC_SPLIT_POST = touch $@