############################################################################
-# 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.
############################################################################
+# trying to delay loading this as long as possible so the built in rule system for CLEANUPS can run with the right values.
+# so far not working right!
+#hmmm: fix this.
+
+# Adds the main CLAM system in to get some work done. This should be placed
+# after the module's rules are defined and before the module's targets are
+# defined.
+include rules.def
+
+############################################################################
+
# C++ source to object file translation.
# if there is a special set of flags for this source file, we use them
# instead of the default compiler flags.
# Now the active part of the make process...
-# Adds the main CLAM system in to get some work done. This should be placed
-# after the module's rules are defined and before the module's targets are
-# defined.
-include rules.def
-
# make sure we really want to include the dependencies file.
ifeq "$(TYPE)" "hierarchy"
# no dependencies for a simple hierarchy builder.