aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVikram S. Adve <vadve@cs.uiuc.edu>2001-11-08 14:31:05 +0000
committerVikram S. Adve <vadve@cs.uiuc.edu>2001-11-08 14:31:05 +0000
commit3bc29389c5100d9fab4cc55196357e86e84fbfbd (patch)
treee6d71daf5322afaa091016d9158546833f73a152
parentffbba0f325f3f53bd890254f224ad85ef2db836f (diff)
Keep *.s files while we're debugging the native code.
Also, fix rule for $(LLCLIBS). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1206 91177308-0d34-0410-b5e6-96231b3b80d8
-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