GHC new build system megapatch
[ghc-hetmet.git] / utils / hp2ps / Makefile
index 18cb05b..ed3dff8 100644 (file)
@@ -1,14 +1,3 @@
-TOP=../..
-include $(TOP)/mk/boilerplate.mk
-
-C_PROG         = hp2ps
-
-SRC_CC_OPTS += -I$(GHC_INCLUDE_DIR) -Wall
-
-INSTALL_PROGS += $(C_PROG)
-
-LIBS        = $(LIBM)
-
-CLEAN_FILES += $(C_OBJS) $(C_PROG)
-
-include $(TOP)/mk/target.mk
+dir = utils/hp2ps
+TOP = ../..
+include $(TOP)/mk/sub-makefile.mk