[project @ 2002-11-20 14:09:42 by simonmar]
[ghc-hetmet.git] / ghc / utils / genapply / Makefile
diff --git a/ghc/utils/genapply/Makefile b/ghc/utils/genapply/Makefile
new file mode 100644 (file)
index 0000000..c15b745
--- /dev/null
@@ -0,0 +1,13 @@
+TOP=../..
+include $(TOP)/mk/boilerplate.mk
+
+HS_PROG = $(GHC_GENAPPLY_PGM)
+
+SRC_HC_OPTS += -I$(GHC_INCLUDE_DIR)
+
+# genapply is needed to boot in ghc/rts...
+ifneq "$(BootingFromHc)" "YES"
+boot :: all
+endif
+
+include $(TOP)/mk/target.mk