wow, might actually be right now for the subdir cleaning with the right targets....
[feisty_meow.git] / scripts / clam / cpp / rules.def
index 73efdfd463d00e330bbd11d40777e0797ff4bc1d..ba51dabb83e9e12f3edbb15d3943b12335e5ff2f 100644 (file)
@@ -398,6 +398,14 @@ ACTUAL_LAST_TARGETS = post_compilation $(LAST_TARGETS)
 
 ############################################################################
 
+# Add the obligatory junk to be cleaned up.
+set_cleanups_variable:
+       echo hey we are in the set cleanups variable and pwd is: $(shell pwd)
+       $(eval CLEANUPS += $(ACTUAL_TARGETS) $(ACTUAL_TARGETS:%.exe=%) )
+       echo "yoyo, cleanups variable is now: $(CLEANUPS)"
+
+############################################################################
+
 # This section defines the rules used to generate various objects from their
 # source files.