blob: c0fab78675a5bb0d2b166e7fa99193d1aa1e4635 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
SUBDIRS := $(wildcard model*/. example*/.)
all: $(SUBDIRS)
$(SUBDIRS):
$(MAKE) -j -C $@
pngs: $(SUBDIRS)
for dir in $(SUBDIRS); do \
gs -dTextAlphaBits=4 -dFirstPage=1 -dLastPage=1 -dBATCH -dNOPAUSE -sDEVICE=png16m -r72 -dUseCropBox -sOutputFile=$$dir/example.png $$dir/example.pdf; \
done
clean:
for dir in $(SUBDIRS); do \
$(MAKE) -C $$dir clean; \
done
.PHONY: all $(SUBDIRS)
|