mirror of
https://gitlab.science.ru.nl/mthesis-edeboone/m.internship-documentation.git
synced 2024-12-22 21:13:32 +01:00
24 lines
357 B
Makefile
24 lines
357 B
Makefile
# 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
|