summaryrefslogtreecommitdiff
path: root/cpp
diff options
context:
space:
mode:
authorSanto Cariotti <sancn@live.com>2017-05-21 09:50:25 +0200
committerSanto Cariotti <sancn@live.com>2017-05-21 09:50:25 +0200
commit50b5b1a19d9b36ad12828ba3755fde6196c4ba09 (patch)
tree7f7234144ca06809f28692b1d2ea7ab09585b48b /cpp
parentd59cb91363c5f7cf963799dc9bc7ea6b9aedfda9 (diff)
edit makefile
Diffstat (limited to 'cpp')
-rw-r--r--cpp/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/Makefile b/cpp/Makefile
index 08a6e43..71e6544 100644
--- a/cpp/Makefile
+++ b/cpp/Makefile
@@ -1,7 +1,7 @@
CC=gcc
CFLAGS=-o
-CVERSION=-std=c++11
+CVERSION=c++11
$1: $1.cpp
- $(CC) $(CVERSION) $(CFLAGS) $1 $1.cpp
+ $(CC) -Wall -std=$(CVERSION) $(CFLAGS) $1 $1.cpp