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-04-03 12:55:01 by rrt]
[ghc-hetmet.git]
/
mk
/
target.mk
diff --git
a/mk/target.mk
b/mk/target.mk
index
81ac73b
..
6970096
100644
(file)
--- a/
mk/target.mk
+++ b/
mk/target.mk
@@
-293,8
+293,14
@@
boot :: depend
ifneq "$(HS_PROG)" ""
all :: $(HS_PROG)
ifneq "$(HS_PROG)" ""
all :: $(HS_PROG)
+ifneq "$(BootingFromHc)" "YES"
$(HS_PROG) :: $(HS_OBJS)
$(HS_PROG) :: $(HS_OBJS)
- $(HC) -o $@ $(HC_OPTS) $(LD_OPTS) $(HS_OBJS) $(LIBS)
+ $(HC) -o $@ $(HC_OPTS) $(LD_OPTS) $(HS_OBJS)
+else
+# see bootstrp.mk
+$(HS_PROG) :: $(HS_OBJS)
+ $(CC) -o $@ $(HC_BOOT_CC_OPTS) $(HC_BOOT_LD_OPTS) $(HS_OBJS) $(HC_BOOT_LIBS)
+endif
endif
# Object and interface files have suffixes tagged with their ways
endif
# Object and interface files have suffixes tagged with their ways