summaryrefslogtreecommitdiff
path: root/tests/exec/Makefile
diff options
context:
space:
mode:
authorAlex AUVOLAT <alex.auvolat@ens.fr>2014-01-08 22:59:02 +0100
committerAlex AUVOLAT <alex.auvolat@ens.fr>2014-01-08 22:59:02 +0100
commitce876db1ef52af3c0b1a89b18a08279a5aea3d9d (patch)
tree8abc918f6db7a3e9eaeb83d5900053bac8b4cde5 /tests/exec/Makefile
parent97962c7823fd8bfca3a94909bb4b6f14ad967735 (diff)
parent56fdab2ff0caaaa88a152ef06aef821f432fe488 (diff)
downloadLPC-Projet-ce876db1ef52af3c0b1a89b18a08279a5aea3d9d.tar.gz
LPC-Projet-ce876db1ef52af3c0b1a89b18a08279a5aea3d9d.zip
Merge branch 'codegen-alex' into codegen-alex-opt
Diffstat (limited to 'tests/exec/Makefile')
-rw-r--r--tests/exec/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/exec/Makefile b/tests/exec/Makefile
index b260ba0..afe0fdc 100644
--- a/tests/exec/Makefile
+++ b/tests/exec/Makefile
@@ -1,3 +1,6 @@
+%.out: %.cpp
+ g++ -o /tmp/tmp_exec_test $^ && /tmp/tmp_exec_test > $@ && rm /tmp/tmp_exec_test
+
%: %.cpp
g++ -o $@ $^