Keep *.s files while we're debugging the native code.
authorVikram S. Adve <vadve@cs.uiuc.edu>
Thu, 8 Nov 2001 14:31:05 +0000 (14:31 +0000)
committerVikram S. Adve <vadve@cs.uiuc.edu>
Thu, 8 Nov 2001 14:31:05 +0000 (14:31 +0000)
Also, fix rule for $(LLCLIBS).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1206 91177308-0d34-0410-b5e6-96231b3b80d8

test/Makefile.target
test/Makefile.tests

index f1daa02cf312e8531d8eb1b26ef510fc3cd2a0f1..703638d3026ea47e7a38f9cd678b95dc45d62924 100644 (file)
@@ -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
index f1daa02cf312e8531d8eb1b26ef510fc3cd2a0f1..703638d3026ea47e7a38f9cd678b95dc45d62924 100644 (file)
@@ -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