aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/Makefile.target6
-rw-r--r--test/Makefile.tests6
2 files changed, 6 insertions, 6 deletions
diff --git a/test/Makefile.target b/test/Makefile.target
index f1daa02cf3..703638d302 100644
--- a/test/Makefile.target
+++ b/test/Makefile.target
@@ -5,8 +5,8 @@
.PHONY: clean default
-## keep %.linked.bc from being deleted
-.PRECIOUS: %.linked.bc
+## keep %.linked.bc and %.s from being deleted while we're debugging
+.PRECIOUS: %.linked.bc %.s
TOOLS = $(LEVEL)/tools/Debug
@@ -59,7 +59,7 @@ endif
## Special target to force target-dependent library to be compiled
## directly to native code.
##
-$(LLCLIB):
+$(LLCLIB): $(LLCLIB:.o=.c)
cd $(LEVEL)/test; $(MAKE) $(@F)
runtime.o: runtime.c
diff --git a/test/Makefile.tests b/test/Makefile.tests
index f1daa02cf3..703638d302 100644
--- a/test/Makefile.tests
+++ b/test/Makefile.tests
@@ -5,8 +5,8 @@
.PHONY: clean default
-## keep %.linked.bc from being deleted
-.PRECIOUS: %.linked.bc
+## keep %.linked.bc and %.s from being deleted while we're debugging
+.PRECIOUS: %.linked.bc %.s
TOOLS = $(LEVEL)/tools/Debug
@@ -59,7 +59,7 @@ endif
## Special target to force target-dependent library to be compiled
## directly to native code.
##
-$(LLCLIB):
+$(LLCLIB): $(LLCLIB:.o=.c)
cd $(LEVEL)/test; $(MAKE) $(@F)
runtime.o: runtime.c