Add makefile and .gitignore

This commit is contained in:
architeuthidae 2024-10-27 14:29:31 +01:00
parent c9b68e38b6
commit e7154280ec
2 changed files with 24 additions and 0 deletions

9
.gitignore vendored Normal file
View File

@ -0,0 +1,9 @@
*.out
*.log
*.aux
_minted-*
build
result
images/unsorted

15
Makefile Normal file
View File

@ -0,0 +1,15 @@
inputs = 1124 2118-2128 2238 2245 4410-4412 4456 5108 5432 5518-5528 5568 7210
dir = build
all: $(inputs)
$(inputs) : % : %.tex
pdflatex -shell-escape $@.tex
if ! test -d "$(dir)"; then \
mkdir build; \
fi
mv $@.pdf build/
rm $@.log
clean:
rm -r _minted* *.aux *.out