Add a compileToCore function to the GHC API
[ghc-hetmet.git] / Makefile
index ec0c901..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
@@ -371,7 +374,7 @@ PUBLISH_FILES = $(BIN_DIST_TARBALL)
 # Upload the distribution and documentation
 ifneq "$(ISCC)" ""
 WINDOWS_INSTALLER_BASE = ghc-$(ProjectVersion)-$(TARGETPLATFORM)
-WINDOWS_INSTALLER = $(WINDOWS_INSTALLER)$(exeext)
+WINDOWS_INSTALLER = $(WINDOWS_INSTALLER_BASE)$(exeext)
 
 PUBLISH_FILES += $(WINDOWS_INSTALLER)