summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 4 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 9898cf9..259cfa8 100644
--- a/Makefile
+++ b/Makefile
@@ -1,8 +1,7 @@
-PROJNAME=main
+.PHONY: all clean
-.PHONY: $(PROJNAME).pdf all clean
+all: main.pdf
-all: $(PROJNAME).pdf
-
-$(PROJNAME).pdf: $(PROJNAME).tex
+%.pdf: %.tex
context --nonstopmode $<
+ mv $(notdir $@) $@