diff options
| author | Florian Fischer <florian.fischer@muhq.space> | 2026-09-30 11:26:09 +0200 |
|---|---|---|
| committer | Florian Fischer <florian.fischer@muhq.space> | 2026-09-30 11:26:09 +0200 |
| commit | 20f975c919d24b426362bd666ab780ea645f608e (patch) | |
| tree | c7f58bee0c0068de5f6c9cd05d5a6295b4a51548 /Mathe/9/2/quizes/funktionen_erkennen/Makefile | |
| parent | b31a0c70d7e20d14fe8c6bee3f721d42a3a5393b (diff) | |
| download | unterricht-20f975c919d24b426362bd666ab780ea645f608e.tar.gz unterricht-20f975c919d24b426362bd666ab780ea645f608e.zip | |
extract function recognition quiz from plickers
Diffstat (limited to 'Mathe/9/2/quizes/funktionen_erkennen/Makefile')
| -rw-r--r-- | Mathe/9/2/quizes/funktionen_erkennen/Makefile | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/Mathe/9/2/quizes/funktionen_erkennen/Makefile b/Mathe/9/2/quizes/funktionen_erkennen/Makefile new file mode 100644 index 00000000..1d424dec --- /dev/null +++ b/Mathe/9/2/quizes/funktionen_erkennen/Makefile @@ -0,0 +1,17 @@ +QUESTIONS:=$(wildcard *.tex) +PDFS:=$(QUESTIONS:.tex=.pdf) +PNGS:=$(QUESTIONS:.tex=.png) +JPGS:=$(QUESTIONS:.tex=.jpg) + +.PHONY: all +all: $(PDFS) $(PNGS) $(JPGS) + +%.jpg: %.pdf + convert -density 600 -quality 100 $< -flatten -sharpen 0x1.0 $@ + +%.png: %.pdf + convert -density 600 -quality 100 $< -flatten -sharpen 0x1.0 $@ + +COMMON_MK = $(shell bash -c 'upfind() { [[ -f "$$1" ]] && printf "$$1" || ([ "$$(realpath $$(dirname "$$1"))" == "/" ] || upfind "../$$1") }; upfind common.mk') +include $(COMMON_MK) + |
