[llvm-commits] CVS: llvm/projects/Stacker/test/Makefile
Reid Spencer
reid at x10sys.com
Fri Sep 10 21:15:20 PDT 2004
Changes in directory llvm/projects/Stacker/test:
Makefile updated: 1.5 -> 1.6
---
Log message:
Use llvm-link to link the .bc with testing.bc. This helps test the new
llvm-link dependent libraries feature.
---
Diffs of the changes: (+5 -4)
Index: llvm/projects/Stacker/test/Makefile
diff -u llvm/projects/Stacker/test/Makefile:1.5 llvm/projects/Stacker/test/Makefile:1.6
--- llvm/projects/Stacker/test/Makefile:1.5 Sat Sep 4 15:13:54 2004
+++ llvm/projects/Stacker/test/Makefile Fri Sep 10 23:15:09 2004
@@ -43,13 +43,14 @@
@$(ECHO) "Compiling And Optimizing $< to $*.bc"
$(VERB)$(STKRC_EXEC) -f -O4 -s 2048 -o $*.bc $(BUILD_SRC_DIR)/$*.st
-%.s : %.bc
+%.s : %.bc testing.bc
@$(ECHO) "Assembling $< to $*.s"
- $(VERB)$(LLC) -f -o $*.s $*.bc
+ $(VERB)$(LLINK) $*.bc testing.bc -o $*.bcl
+ $(VERB)$(LLC) -f -o $*.s $*.bcl
-% : %.s testing.s
+% : %.s
@$(ECHO) "Linking $*"
- $(VERB)$(CC) -ggdb -L$(BUILD_OBJ_ROOT)/lib/$(CONFIGURATION) testing.s -lstkr_runtime -o $* $*.s
+ $(VERB)$(CC) -ggdb -L$(BUILD_OBJ_ROOT)/lib/$(CONFIGURATION) -lstkr_runtime -o $* $*.s
%.ll : %.bc
@$(ECHO) "Disassembling $< to $*.ll"
More information about the llvm-commits
mailing list