Add llc path to setup

Make code gen simpler, don't drop extra files all over the place

llvm-svn: 494
This commit is contained in:
Chris Lattner 2001-09-07 22:13:44 +00:00
parent 5e65e4212b
commit 7170360d74
2 changed files with 6 additions and 6 deletions

View File

@ -33,10 +33,10 @@ clean :
@echo "Running optimizier test on $<"
@./TestOptimizer.sh $<
%.bc: %.ll $(AS)
rm -f $@
$(AS) $<
%.bc: %.ll
$(AS) $< -f
%.mc: %.bc $(LLC)
%.mc: %.ll
@echo "Generating machine instructions for $<"
$(LLC) $(LLCOPTS) $< > $@
$(AS) < $< | $(LLC) -dsched=t > $@

View File

@ -1,4 +1,4 @@
setenv LD_LIBRARY_PATH ../lib/Assembly/Parser/Debug:../lib/Assembly/Writer/Debug:../lib/Analysis/Debug:../lib/VMCore/Debug:../lib/Bytecode/Writer/Debug:../lib/Bytecode/Reader/Debug:../lib/Optimizations/Debug
setenv PATH ../lib/CodeGen:../tools/dis:../tools/opt:../tools/strip:../tools/analyze:${PATH}
setenv PATH ../lib/CodeGen:../tools/dis:../tools/opt:../tools/strip:../tools/analyze:../tools/llc:${PATH}
alias as ../tools/as/as