mirror of
https://gitlab.science.ru.nl/mthesis-edeboone/m.internship-documentation.git
synced 2024-11-25 00:13:35 +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
|