summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSanto Cariotti <sancn@live.com>2017-06-03 12:39:25 +0200
committerSanto Cariotti <sancn@live.com>2017-06-03 12:39:25 +0200
commit263704d75777429c9cb84416b9b2aa7d6f2f610f (patch)
tree00e69879a7ead3211092b6b8e45c7c371f7d00a8
parent7f298c88ce57f87da8f9957026e915c25eb9f7dd (diff)
parentb8472c00bcf72ebbdd68869d5403975320368e66 (diff)
Merge branch 'master' of https://github.com/dunkerC/esercizi
-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