summaryrefslogtreecommitdiff
path: root/driver/mangler/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'driver/mangler/Makefile')
-rw-r--r--driver/mangler/Makefile22
1 files changed, 22 insertions, 0 deletions
diff --git a/driver/mangler/Makefile b/driver/mangler/Makefile
new file mode 100644
index 0000000000..7b482e1d98
--- /dev/null
+++ b/driver/mangler/Makefile
@@ -0,0 +1,22 @@
+#-----------------------------------------------------------------------------
+# $Id: Makefile,v 1.3 2001/03/23 16:36:21 simonmar Exp $
+
+TOP=../..
+include $(TOP)/mk/boilerplate.mk
+
+SCRIPT_PROG = ghc-asm
+
+INTERP=perl
+
+SCRIPT_SUBST_VARS := TARGETPLATFORM
+
+INSTALL_LIBEXEC_SCRIPTS += $(SCRIPT_PROG)
+
+CLEAN_FILES += $(SCRIPT_OBJS)
+
+# needed for bootstrapping with HC files
+ifeq "$(BootingFromHc)" "YES"
+boot :: all
+endif
+
+include $(TOP)/mk/target.mk