aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGraydon Hoare <[email protected]>2010-07-08 21:56:03 -0700
committerGraydon Hoare <[email protected]>2010-07-08 21:56:09 -0700
commitfc4338e584bbfd8403a69cd15f91a1505663c810 (patch)
tree0c05f7d585aeeec318ddf2895d78fc144e778b65 /src
parentAdd detection for cyclic imports. (diff)
downloadrust-fc4338e584bbfd8403a69cd15f91a1505663c810.tar.xz
rust-fc4338e584bbfd8403a69cd15f91a1505663c810.zip
Add rule for building shootout tests.
Diffstat (limited to 'src')
-rw-r--r--src/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Makefile b/src/Makefile
index 176349ca..256737a2 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -625,6 +625,10 @@ test/run-pass/%.x86$(CFG_EXE_SUFFIX): test/run-pass/%.rc $(REQ)
@$(call CFG_ECHO, compile [x86]: $<)
$(BOOT) -o $@ $<
+test/bench/shootout/%.x86$(CFG_EXE_SUFFIX): test/bench/shootout/%.rs $(REQ)
+ @$(call CFG_ECHO, compile [x86]: $<)
+ $(BOOT) -o $@ $<
+
%.s: %.bc
@$(call CFG_ECHO, compile [llvm]: $<)
$(CFG_QUIET)llc $(CFG_LLC_CFLAGS) -o $@ $<