summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile18
1 files changed, 18 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..ac95c73
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,18 @@
+# G++ version 4.9 or later required for
+# all these to work, see README.
+CXX=g++-4.9
+CXXFLAGS=-g -O0 -Wall -Wextra -std=c++11
+
+SRC=\
+ future-example.cpp \
+ regex-match-example.cpp \
+ regex-search-example.cpp \
+ regex-replace-example.cpp \
+ random-example.cpp
+
+PROG=$(SRC:.cpp=)
+
+all: $(PROG)
+
+clean:
+ rm -f $(PROG)