mirror of
https://gitlab.science.ru.nl/mthesis-edeboone/m.internship-documentation.git
synced 2024-11-22 15:03:35 +01:00
25 lines
357 B
Makefile
25 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
|