Description: Add Makefile for Debian compilation.
Forwarded: not-needed
Author: Filip Strömbäck <filip@fprg.se>
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,13 @@
+all:
+	mkdir -p bin
+	g++ $(CPPFLAGS) $(CXXFLAGS) $(LDFLAGS) textinc/*.cpp -o bin/textinc
+	bin/textinc bin/templates.h templates/*.txt
+	g++ $(CPPFLAGS) $(CXXFLAGS) $(LDFLAGS) -D_GNU_SOURCE -std=c++11 -iquotesrc/ src/*.cpp src/setup/*.cpp -lpthread -o bin/mm
+
+install:
+	mkdir -p $(DESTDIR)/usr/bin
+	cp bin/mm $(DESTDIR)/usr/bin/mymake
+	chmod +x $(DESTDIR)/usr/bin/mymake
+
+clean:
+	rm -rf bin/
