From: simonmar Date: Wed, 4 Feb 2004 15:12:41 +0000 (+0000) Subject: [project @ 2004-02-04 15:12:41 by simonmar] X-Git-Tag: Approx_11550_changesets_converted~103 X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=commitdiff_plain;h=b2b986e508fb6fdc523b262a91c59108d190dd02 [project @ 2004-02-04 15:12:41 by simonmar] Remove $(SCRIPT_OBJS) from $(MOSTLY_CLEAN_FILES) (added in prev. commit). It turns out that we put actual sources in $(SCRIPT_OBJS) in several places, so it does not consist of entirely re-buildable things. --- diff --git a/mk/paths.mk b/mk/paths.mk index 190b692..9955af3 100644 --- a/mk/paths.mk +++ b/mk/paths.mk @@ -270,7 +270,11 @@ TAGS_C_SRCS=$(C_SRCS) # that may require extra tools to create. # # -MOSTLY_CLEAN_FILES += $(HS_OBJS) $(C_OBJS) $(HSC_C_OBJS) $(GC_C_OBJS) $(SCRIPT_OBJS) +# NOTE: $(SCRIPT_OBJS) is not in MOSTLY_CLEAN_FILES, because in some +# places in the tree it appears that we have source files in $(SCRIPT_OBJS). +# Specifically glafp-utils/mkdependC/mkdependC.prl and others in ghc/driver and +# possibly others elsewhere in the tree. ToDo: fix this properly. +MOSTLY_CLEAN_FILES += $(HS_OBJS) $(C_OBJS) $(HSC_C_OBJS) $(GC_C_OBJS) CLEAN_FILES += $(HS_PROG) $(C_PROG) $(SCRIPT_PROG) $(SCRIPT_LINK) \ $(PROG) $(LIBRARY) a.out \ $(DERIVED_HSC_SRCS) \