25 lines
405 B
Makefile
25 lines
405 B
Makefile
|
MAIN := framework.pdf
|
||
|
SRC := $(basename $(MAIN)).tex
|
||
|
DEP := \
|
||
|
config/headfoot.tex \
|
||
|
config/sourcelst.tex \
|
||
|
config/titlepage.tex \
|
||
|
Makefile
|
||
|
|
||
|
all: $(MAIN) $(DEP)
|
||
|
|
||
|
clean:
|
||
|
rm -f \
|
||
|
$(basename $(MAIN)).aux \
|
||
|
$(basename $(MAIN)).dvi \
|
||
|
$(basename $(MAIN)).log \
|
||
|
$(basename $(MAIN)).out \
|
||
|
$(basename $(MAIN)).toc \
|
||
|
$(MAIN)
|
||
|
|
||
|
$(MAIN):
|
||
|
@latex $(SRC)
|
||
|
latex $(SRC)
|
||
|
dvipdf $(basename $(MAIN)).dvi $(MAIN)
|
||
|
|