Skip to content

Commit

Permalink
better makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom Sydney Kerckhove committed Aug 23, 2015
1 parent af21d86 commit b1848c0
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions makefile
@@ -1,20 +1,20 @@
.PHONY: assets

OUTPUT_NAME = ab-notities
MAIN_NAME = main

LATEX = ./makepdf.sh
all: assets exercises text

all:
make assets
make text
make exercises
assets:
$(MAKE) -C assets

text: $(OUTPUT_NAME).pdf

exercises:
exercises: oefenzittingen.pdf

oefenzittingen.pdf:
bash compile_oz.sh

$(OUTPUT_NAME).pdf:
$(LATEX) $(MAIN_NAME).tex $(OUTPUT_NAME).pdf
$(OUTPUT_NAME).pdf: individuals main.tex
latexmk -pdf -pdflatex="pdflatex -shell-escape -halt-on-error -enable-pipes -enable-write18" $(MAIN_NAME).tex
cp $(MAIN_NAME).pdf $(OUTPUT_NAME).pdf

individuals: *.tex

0 comments on commit b1848c0

Please sign in to comment.