summaryrefslogtreecommitdiff
path: root/test/Makefile.tests
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2001-11-13 05:44:27 +0000
committerChris Lattner <sabre@nondot.org>2001-11-13 05:44:27 +0000
commit02b5d1386e3386fa6e35a2cbe294a4ce94bd0024 (patch)
tree62a9354aa60a2fc49f872629f08e1485f29eae5c /test/Makefile.tests
parentce22ec125169f7c2de1cea4ab60ce7b28eb5cac5 (diff)
downloadllvm-02b5d1386e3386fa6e35a2cbe294a4ce94bd0024.tar.gz
llvm-02b5d1386e3386fa6e35a2cbe294a4ce94bd0024.tar.bz2
llvm-02b5d1386e3386fa6e35a2cbe294a4ce94bd0024.tar.xz
Overwrite files when linked
Remove native files when cleaned git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1289 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Makefile.tests')
-rw-r--r--test/Makefile.tests4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/Makefile.tests b/test/Makefile.tests
index beac97847c..37ebbbc4c3 100644
--- a/test/Makefile.tests
+++ b/test/Makefile.tests
@@ -51,7 +51,7 @@ ifdef PROG
$(PROG).linked.bc: $(BCOBJS)
$(LLINK) -f $(BCOBJS) -o $(PROG).tmp.bc
- $(LOPT) -cleangcc -raise -constprop -dce $(PROG).tmp.bc -o $@
+ $(LOPT) -cleangcc -raise -constprop -dce $(PROG).tmp.bc -o $@ -f
$(RM) $(PROG).tmp.bc
$(PROG).native: $(OBJS:.o=.c)
@@ -68,7 +68,7 @@ runtime.o: runtime.c
$(CC) -c $(CCFLAGS) $<
clean :
- $(RM) *.[123] *.bc *.mc *.s *.o a.out core $(PROG)
+ $(RM) *.[123] *.bc *.mc *.s *.o a.out core $(PROG) $(PROG).native
%.mc: %.bc $(LLC) $(AS)
@echo "Generating machine instructions for $<"