[project @ 2000-10-23 11:08:22 by simonmar]
authorsimonmar <unknown>
Mon, 23 Oct 2000 11:08:22 +0000 (11:08 +0000)
committersimonmar <unknown>
Mon, 23 Oct 2000 11:08:22 +0000 (11:08 +0000)
GHC Build System Police.

ghc/utils/genprimopcode/Makefile

index ee1d673..c820318 100644 (file)
@@ -1,22 +1,14 @@
+# -----------------------------------------------------------------------------
+# $Id: Makefile,v 1.3 2000/10/23 11:08:22 simonmar Exp $
+
 TOP=../..
 include $(TOP)/mk/boilerplate.mk
 
-INSTALL_PROGS += genprimopcode
-
-SRC_HC_OPTS += -syslib text
-OBJS = Main.o
-
-CLEAN_FILES += genprimopcode
+HS_PROG        = genprimopcode
+INSTALL_PROGS += $(HS_PROG)
+SRC_HC_OPTS   += -syslib text
 
 # genprimopcode is needed to boot in ghc/compiler...
 boot :: all
 
-all :: genprimopcode
-
-genprimopcode: Main.o
-       $(HC) -o $@ $(HC_OPTS) $(LD_OPTS) $(OBJS)
-
-CLEAN_FILES += genprimopcode
-CLEAN_FILES += $(OBJS)
-
 include $(TOP)/mk/target.mk