From 5a3c14aeb3a680e9d8ff03a4b995f59746a88eab Mon Sep 17 00:00:00 2001 From: Andreas Tsouchlos Date: Sun, 24 Dec 2023 02:02:19 +0100 Subject: [PATCH] Move 'all' target to top of Makefile --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 28fb9cf..a7c2efa 100644 --- a/Makefile +++ b/Makefile @@ -1,11 +1,11 @@ SRCS=$(shell find examples -type f -name "*.tex") PDFS=$(shell echo $(SRCS:.tex=.pdf) | sed -e "s/examples\\///g") +all: $(PDFS) + %.pdf: examples/%.tex latexmk $< -all: $(PDFS) - clean: rm -rf build