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-08-20 10:20:34 by simonmar]
[ghc-hetmet.git]
/
ghc
/
utils
/
genprimopcode
/
Makefile
diff --git
a/ghc/utils/genprimopcode/Makefile
b/ghc/utils/genprimopcode/Makefile
index
50c363b
..
f160024
100644
(file)
--- a/
ghc/utils/genprimopcode/Makefile
+++ b/
ghc/utils/genprimopcode/Makefile
@@
-1,19
+1,15
@@
+# -----------------------------------------------------------------------------
+# $Id: Makefile,v 1.7 2001/08/08 13:21:04 qrczak 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
-
-all :: genprimopcode
-
-genprimopcode: Main.o
- $(HC) -o $@ $(HC_OPTS) $(LD_OPTS) $(OBJS)
+HS_PROG = genprimopcode
+SRC_HC_OPTS += -syslib text
-CLEAN_FILES += genprimopcode
-CLEAN_FILES += $(OBJS)
+# genprimopcode is needed to boot in ghc/compiler...
+ifneq "$(BootingFromHc)" "YES"
+boot :: all
+endif
include $(TOP)/mk/target.mk
include $(TOP)/mk/target.mk