From: Juha Pohjalainen Subject: [PATCH] Added dependency between instructions.bc and instructions.cpp. Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Changes are: * change Rakefile dependencies for instructions.bc Notes: * this needs llvm-g++ installed in dev environment --- vm/Rakefile | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/vm/Rakefile b/vm/Rakefile index 45e017b..a72e1b6 100644 --- a/vm/Rakefile +++ b/vm/Rakefile @@ -251,7 +251,7 @@ file "vm" => external + objs + ["drivers/cli.o", "instructions.bc"] do compiler.link "vm", :objects => objs + ["drivers/cli.o"], :libs => ex_libs, :flags => link_opts end -file "instructions.bc" do +file "instructions.bc" => "llvm/instructions.cpp" do puts "LLVM instructions.bc" x "llvm-g++ -emit-llvm -I. -I external_libs/libffi/include -o instructions.bc -c llvm/instructions.cpp" end