From 0908d2d6b2d41095c17733a7390a52223a056483 Mon Sep 17 00:00:00 2001 From: simonmar Date: Fri, 8 Jul 2005 11:16:00 +0000 Subject: [PATCH] [project @ 2005-07-08 11:16:00 by simonmar] Clean .hi-boot and .o-boot files too --- ghc/compiler/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 -- 1.7.10.4