summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 55c4e4f..98d14cc 100644
--- a/Makefile
+++ b/Makefile
@@ -1,3 +1,5 @@
+MODE ?= main
+
.PHONY: all clean
all: main.pdf
@@ -10,5 +12,5 @@ figures/%.pdf: figures/%.tex
# silent structure,structures,pages,resolvers,open source,close source,loading,modules
%.pdf: %.tex
- context --nonstopmode --silent='*' $<
+ context --mode=$(MODE) --nonstopmode --silent='*' $<
cp $(notdir $@) $@ || true