From: simonmar Date: Fri, 8 Jul 2005 11:16:00 +0000 (+0000) Subject: [project @ 2005-07-08 11:16:00 by simonmar] X-Git-Tag: Initial_conversion_from_CVS_complete~397 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=0908d2d6b2d41095c17733a7390a52223a056483;p=ghc-hetmet.git [project @ 2005-07-08 11:16:00 by simonmar] Clean .hi-boot and .o-boot files too --- diff --git a/ghc/compiler/Makefile b/ghc/compiler/Makefile index cca05c6..3dd345e 100644 --- a/ghc/compiler/Makefile +++ b/ghc/compiler/Makefile @@ -157,10 +157,10 @@ SRC_HC_OPTS += $(patsubst %, -i$(odir)/%, $(ALL_DIRS)) HS_OBJS = $(patsubst %, $(odir)/%, $(addsuffix .$(way_)o,$(basename $(HS_SRCS)))) C_OBJS = $(patsubst %, $(odir)/%, $(addsuffix .$(way_)o,$(basename $(C_SRCS)))) -# Our standard cleaning rules don't know that we're doing our output into $(odir), so -# we have to augment CLEAN_FILES appropriateliy. +# Our standard cleaning rules don't know that we're doing our output +# into $(odir), so we have to augment CLEAN_FILES appropriateliy. -CLEAN_FILES += $(odir)/*/*.hi +CLEAN_FILES += $(odir)/*/*.hi $(odir)/*/*.hi-boot $(odir)/*/*.o-boot ifeq "$(UsingHsBoot)" "YES" CLEAN_FILES += $(odir)/*/*.hi-boot $(odir)/*/*.o-boot