Makefile & al.
[pipstransfo.git] / Makefile
diff --git a/Makefile b/Makefile
new file mode 100644 (file)
index 0000000..7fbff97
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,24 @@
+LATEXMK:=latexmk
+JOBNAME:=pipstransfo
+
+.PHONY: default
+default: build
+
+.PHONY: build
+build: depends
+       $(LATEXMK) $(JOBNAME).tex
+
+.PHONY: live
+live: depends
+       $(LATEXMK) -pvc $(JOBNAME).tex
+
+.PHONY: depends
+depends:
+
+.PHONY: clean
+clean:
+       $(LATEXMK) -C
+
+.PHONY: rebuild
+rebuild: clean build
+