Define SUBDIRS in Makefile (needed for clean; fixes trac #1440)
[ghc-hetmet.git] / Makefile
index 2c77d33..b8c1089 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -64,6 +64,9 @@ else
 SUBDIRS_BUILD = includes compat utils driver docs compiler rts
 endif
 
+# Needed for, e.g., clean
+SUBDIRS = $(SUBDIRS_BUILD)
+
 SUBDIRS_INSTALL = includes compat utils driver docs rts libraries compiler
 
 # Sanity check that all the core libraries are in the tree, to catch