-# 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.
- $(eval CLEANUPS = $(CLEANUPS) $(ACTUAL_TARGETS) $(ACTUAL_TARGETS:%.exe=%) )
- echo "new CLEANUPS variable: $(CLEANUPS)"
-
-# guard the main cleaning task with our variable
-# so we do not pull in subtargets when we do not want to.
+# 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)
+ $(eval CLEANUPS = $(ACTUAL_TARGETS) $(CLEANUPS) )
+# $(eval CLEANUPS = $(ACTUAL_TARGETS) $(ACTUAL_TARGETS:%.exe=%) $(ACTUAL_TARGETS:%.dll=%.so) $(ACTUAL_TARGETS:%.so=%.dll) $(CLEANUPS) )
+# echo "new CLEANUPS variable: $(CLEANUPS)"
+
+# main cleaning task.