efrei/unix/Makefile

15 lines
320 B
Makefile
Raw Normal View History

2021-09-09 20:23:57 +02:00
filename=$(shell basename $(shell pwd))
timestamp=$(shell date +%Y-%m-%d_%H:%M)
all: tp1
tp1: tp1_20210910.tex
@latexmk -pdf tp1_20210910.tex
2021-09-09 20:23:57 +02:00
@if ! cmp --silent build/tp1_20210910.pdf tp1_20210910.pdf; then \
cp build/tp1_20210910.pdf tp1_20210910.pdf; \
echo "Updated"; \
fi
clean:
@rm -rf build 2>/dev/null