summaryrefslogtreecommitdiff
path: root/projects
diff options
context:
space:
mode:
Diffstat (limited to 'projects')
-rw-r--r--projects/Stacker/samples/Makefile2
-rw-r--r--projects/Stacker/tools/stkrc/Makefile9
2 files changed, 6 insertions, 5 deletions
diff --git a/projects/Stacker/samples/Makefile b/projects/Stacker/samples/Makefile
index d5b9b6ed0a..22190a78db 100644
--- a/projects/Stacker/samples/Makefile
+++ b/projects/Stacker/samples/Makefile
@@ -24,7 +24,7 @@ LLVMDIS_EXEC = $(BUILD_OBJ_ROOT)/tools/$(CONFIGURATION)/llvm-dis
all :: $(SAMPLES)
ifdef OPTIMIZE
-%.bc : %.st
+% : %.st
@$(ECHO) "Compiling and Optimizing $< to $*.bc"
$(VERB)$(STKRC_EXEC) -e -o - $< | opt -stats -q -f -o $*.bc \
-aa-eval -adce -branch-combine -cee -constmerge -constprop -dce -die -ds-aa \
diff --git a/projects/Stacker/tools/stkrc/Makefile b/projects/Stacker/tools/stkrc/Makefile
index f413dc236e..4f352836fe 100644
--- a/projects/Stacker/tools/stkrc/Makefile
+++ b/projects/Stacker/tools/stkrc/Makefile
@@ -8,10 +8,11 @@ LEVEL=../..
#
# Give the name of a library. This will build a dynamic version.
#
-TOOLNAME=stkrc
-LLVMLIBS= asmparser bcwriter transforms ipo.a ipa.a \
- scalaropts analysis.a target.a transformutils \
- vmcore support.a LLVMsystem.a
+TOOLNAME = stkrc
+LLVMLIBS = LLVMAsmParser LLVMBCWriter LLVMTransforms LLVMipo.a LLVMipa.a \
+ LLVMScalarOpts LLVMAnalysis.a LLVMTarget.a LLVMTransformUtils \
+ LLVMCore LLVMSupport.a LLVMSystem.a
+
USEDLIBS=stkr_compiler