Move 'all' target to top of Makefile
This commit is contained in:
parent
28fd7971f9
commit
5a3c14aeb3
4
Makefile
4
Makefile
@ -1,11 +1,11 @@
|
|||||||
SRCS=$(shell find examples -type f -name "*.tex")
|
SRCS=$(shell find examples -type f -name "*.tex")
|
||||||
PDFS=$(shell echo $(SRCS:.tex=.pdf) | sed -e "s/examples\\///g")
|
PDFS=$(shell echo $(SRCS:.tex=.pdf) | sed -e "s/examples\\///g")
|
||||||
|
|
||||||
|
all: $(PDFS)
|
||||||
|
|
||||||
%.pdf: examples/%.tex
|
%.pdf: examples/%.tex
|
||||||
latexmk $<
|
latexmk $<
|
||||||
|
|
||||||
all: $(PDFS)
|
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -rf build
|
rm -rf build
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user