summaryrefslogtreecommitdiff
path: root/cpp/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/Makefile')
-rw-r--r--cpp/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/cpp/Makefile b/cpp/Makefile
index 147432b..1af9cd3 100644
--- a/cpp/Makefile
+++ b/cpp/Makefile
@@ -1,2 +1,5 @@
all:
- g++-4.8 -Wall -std=c++11 -o $1 $1.cpp
+ g++ -Wall -std=c++11 -o $1 $1.cpp
+
+test:
+ ./$1 || exit 1