m-thesis-documentation/presentations/2022-02-03_group_meeting/Makefile

25 lines
357 B
Makefile
Raw Normal View History

# vim:ft=make
-include config.mk
.PHONY: all clean
### Variables
MAIN_SRC ?= main.tex
TEXENGINE ?= pdflatex
### Targets
MAIN_TARGET=$(patsubst %.tex,%.pdf,$(MAIN_SRC))
all: $(MAIN_TARGET)
$(MAIN_TARGET): $(MAIN_SRC)
$(TEXENGINE) $^
$(TEXENGINE) $^
clean:
@rm -f *.dat *.log *.out *.aux *.dvi *.ps *.nav *.snm *.toc *.vrb *~
@rm -f *.pdf *.eps