18 lines
332 B
Makefile
18 lines
332 B
Makefile
TARGET=main
|
|
TEX_FILES=$(TARGET).tex $(wildcard ../*.bib) $(wildcard sections/*)
|
|
|
|
|
|
all: $(TARGET).pdf
|
|
@if [ `uname` = "Darwin" ] ; then open $(TARGET).pdf; fi
|
|
|
|
$(TARGET).pdf: $(TEX_FILES)
|
|
latexmk -pdf $(TARGET).tex
|
|
|
|
open: $(TARGET).pdf todo
|
|
open $<
|
|
|
|
clean:
|
|
latexmk -CA -bibtex
|
|
|
|
.PHONY: todo plot clean open collabs graphs split
|