SUBDIRS = \ img $(SUBDIRS): $(MAKE) -C $@ pandoc-papers.pdf: paper.md pandoc \ -V aspectratio=169 \ -V institute=iDiv \ -V theme=Frankfurt \ -V navigation=horizontal \ -s paper.md -t beamer -o pandoc-papers.pdf all: subdirs clean: for dir in $(SUBDIRS); do \ $(MAKE) -C $$dir $@; \ done default: all subdirs: $(SUBDIRS) .PHONY: \ $(SUBDIRS) \ all \ clean \ default \ subdirs