[project @ 2000-04-19 16:24:00 by simonpj]
authorsimonpj <unknown>
Wed, 19 Apr 2000 16:24:00 +0000 (16:24 +0000)
committersimonpj <unknown>
Wed, 19 Apr 2000 16:24:00 +0000 (16:24 +0000)
- Don't rm the .o file when splitting.   Doing so
  forces grotesque amounts of recompilation

mk/target.mk

index 4928732..11fe594 100644 (file)
@@ -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 $@