Newer
Older
TARGET?=main
SUBFOLDER?=src
default: build
clean:
cd src; rm -f *.aux *.log *.out *.pdf *.toc *.synctex.gz
build:
cd $(SUBFOLDER); \
xelatex -shell-escape $(TARGET).tex; \
bibtex $(TARGET).aux; \
xelatex -shell-escape $(TARGET).tex; \
xelatex -shell-escape $(TARGET).tex; \