summaryrefslogtreecommitdiff
path: root/cpp/Makefile
diff options
context:
space:
mode:
authorSanto Cariotti <sancn@live.com>2017-05-19 17:00:41 +0200
committerSanto Cariotti <sancn@live.com>2017-05-19 17:00:41 +0200
commitd59cb91363c5f7cf963799dc9bc7ea6b9aedfda9 (patch)
treec655781b2c42222bc7117213da76aaaf8c6cd05b /cpp/Makefile
parentce82ae7477edf14b78af2c5ab71faf1b1d520f94 (diff)
added makefile
Diffstat (limited to 'cpp/Makefile')
-rw-r--r--cpp/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/cpp/Makefile b/cpp/Makefile
new file mode 100644
index 0000000..08a6e43
--- /dev/null
+++ b/cpp/Makefile
@@ -0,0 +1,7 @@
+CC=gcc
+CFLAGS=-o
+CVERSION=-std=c++11
+
+$1: $1.cpp
+
+ $(CC) $(CVERSION) $(CFLAGS) $1 $1.cpp