From b8472c00bcf72ebbdd68869d5403975320368e66 Mon Sep 17 00:00:00 2001 From: Santo Cariotti Date: Fri, 2 Jun 2017 11:01:22 +0200 Subject: Update Makefile --- cpp/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'cpp/Makefile') 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 -- cgit v1.2.3-18-g5258