summaryrefslogtreecommitdiff
path: root/cpp/Makefile
diff options
context:
space:
mode:
authorSanto Cariotti <sancn@live.com>2017-06-02 11:01:22 +0200
committerGitHub <noreply@github.com>2017-06-02 11:01:22 +0200
commitb8472c00bcf72ebbdd68869d5403975320368e66 (patch)
tree31e8f87ad96ef5575ebcd2035c699d0d33c24e1c /cpp/Makefile
parent17a67a4cd53939413296ce7ce7ac35a96b7aff96 (diff)
Update Makefile
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