diff options
author | Santo Cariotti <sancn@live.com> | 2017-06-02 11:01:22 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-02 11:01:22 +0200 |
commit | b8472c00bcf72ebbdd68869d5403975320368e66 (patch) | |
tree | 31e8f87ad96ef5575ebcd2035c699d0d33c24e1c /cpp | |
parent | 17a67a4cd53939413296ce7ce7ac35a96b7aff96 (diff) |
Update Makefile
Diffstat (limited to 'cpp')
-rw-r--r-- | cpp/Makefile | 5 |
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 |