X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=scripts%2Fclam%2Frules.def;h=b4074796794de4f4eb18d1e97c1daa20fc22cc5d;hb=4be7627787c8ef59b9c2dac636d2665afbb9bf96;hp=182db898b7793d84333a319c8fccaca8da3c005d;hpb=54bafaab2c49eb0c64e6e40750f2f14e869f1edd;p=feisty_meow.git diff --git a/scripts/clam/rules.def b/scripts/clam/rules.def index 182db898..b4074796 100644 --- a/scripts/clam/rules.def +++ b/scripts/clam/rules.def @@ -108,13 +108,16 @@ scratch_other_cleans: $(eval OTHER_CLEANS := ) # add late breaking items to the cleanup list. this is mainly the actual -# targets to build , since those are not specified until the user makefile -# is included. we take a liberty here and also add non ".exe" versions in -# case we are running on linux. -add_to_cleanups_variable: - echo "going to add to cleanup variable now with the actual targets as $(ACTUAL_TARGETS)" - $(eval CLEANUPS = $(ACTUAL_TARGETS) $(ACTUAL_TARGETS:%.exe=%) $(CLEANUPS) ) - echo "new CLEANUPS variable: $(CLEANUPS)" +# targets to build, since those are not specified until the user makefile +# is included. we take a liberty here and also add different versions of +# the file suffixes so we can clean all versions of the targets. +add_to_cleanups_variable: $(SUPPLEMENTAL_CLEANUP_TARGETS) +# echo "going to add to cleanup variable now with the actual targets as $(ACTUAL_TARGETS)" + $(eval CLEANUPS = $(ACTUAL_TARGETS) $(ACTUAL_TARGETS:%.exe=%) $(ACTUAL_TARGETS:%.dll=%.so) $(ACTUAL_TARGETS:%.so=%.dll) $(CLEANUPS) ) +# echo "new CLEANUPS variable: $(CLEANUPS)" +#hmmm: above is very code knowledgeable. +# we should have a working mechanism for doing a specialized +# type of cleanups addition, so we should rely on that instead of doing it above. # guard the main cleaning task with our variable # so we do not pull in subtargets when we do not want to.