summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authortomsmeding <hallo@tomsmeding.nl>2015-08-25 20:51:03 +0200
committertomsmeding <hallo@tomsmeding.nl>2015-08-25 20:51:03 +0200
commit5e8a7aad13b6442d2acf9113eb576a1ea4c22ab3 (patch)
tree72a36d0e6d53cf9ec5afc66dbcf3bf2b217c98c2 /Makefile
parent7fab11f595d7c75ad4f859fb9af9d06b931a1b14 (diff)
Refactor
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile15
1 files changed, 15 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..ad763d5
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,15 @@
+CXX = g++
+CXXFLAGS = -Wall -O2 -std=c++11
+OBJECTS = postrun.o runtime.o functions.o
+
+.PHONY: all clean remake
+
+all: postrun
+
+clean:
+ rm -f $(OBJECTS) postrun
+
+remake: clean all
+
+postrun: $(OBJECTS)
+ g++ -Wall -O2 -std=c++11 -o postrun $(OBJECTS)