[project @ 2002-09-13 15:01:40 by simonpj]
[ghc-hetmet.git] / ghc / utils / unlit / Makefile
index 7a7b3c2..15e7fc4 100644 (file)
@@ -1,8 +1,16 @@
-TOP=../../..
-include $(TOP)/ghc/mk/ghc.mk
+TOP=../..
+include $(TOP)/mk/boilerplate.mk
 
-SRCS=unlit.c
-PROG=unlit
-DESTDIR=$(INSTLIBDIR_GHC)
+C_SRCS=unlit.c
+C_PROG=unlit
+SRC_CC_OPTS += -O
 
-include $(TOP)/mk/Cprog.mk
+# Get it over with!
+boot :: all
+
+#
+# Install unlit in lib/
+#
+INSTALL_LIBEXECS += $(C_PROG)
+
+include $(TOP)/mk/target.mk