projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[project @ 2001-03-23 16:36:20 by simonmar]
[ghc-hetmet.git]
/
ghc
/
utils
/
genprimopcode
/
Makefile
diff --git
a/ghc/utils/genprimopcode/Makefile
b/ghc/utils/genprimopcode/Makefile
index
ee1d673
..
753fd94
100644
(file)
--- a/
ghc/utils/genprimopcode/Makefile
+++ b/
ghc/utils/genprimopcode/Makefile
@@
-1,22
+1,15
@@
+# -----------------------------------------------------------------------------
+# $Id: Makefile,v 1.5 2001/03/23 16:36:22 simonmar Exp $
+
TOP=../..
include $(TOP)/mk/boilerplate.mk
TOP=../..
include $(TOP)/mk/boilerplate.mk
-INSTALL_PROGS += genprimopcode
-
-SRC_HC_OPTS += -syslib text
-OBJS = Main.o
-
-CLEAN_FILES += genprimopcode
+HS_PROG = genprimopcode
+SRC_HC_OPTS += -syslib text
# genprimopcode is needed to boot in ghc/compiler...
# genprimopcode is needed to boot in ghc/compiler...
+ifneq "$(BootingFromHc)" "YES"
boot :: all
boot :: all
-
-all :: genprimopcode
-
-genprimopcode: Main.o
- $(HC) -o $@ $(HC_OPTS) $(LD_OPTS) $(OBJS)
-
-CLEAN_FILES += genprimopcode
-CLEAN_FILES += $(OBJS)
+endif
include $(TOP)/mk/target.mk
include $(TOP)/mk/target.mk