summaryrefslogtreecommitdiff
path: root/cpp/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/Makefile')
-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