Fix a problem with package.mk being included too early
[ghc-hetmet.git] / mk / target.mk
index 8a9e5b5..8537b4f 100644 (file)
 
 PRE_SRCS := $(ALL_SRCS)
 
+##################################################################
+# Include package building machinery
+# NB. needs to be after PRE_SRCS setting above, because otherwise the
+# rule dependencies won't be set correctly.
+
+include $(TOP)/mk/package.mk
+
 ###################################################################
 # Suffix rules for Haskell, C and literate