summaryrefslogtreecommitdiff
path: root/tests/exec/Makefile
diff options
context:
space:
mode:
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 $@ $^