2013-07-17 06:17:52 +00:00
|
|
|
BITMAPS:=$(patsubst parts/%.dat, bitmaps/%.png, $(wildcard parts/*.dat))
|
|
|
|
|
2014-09-09 14:34:56 +00:00
|
|
|
all: parts
|
|
|
|
|
|
|
|
parts:
|
|
|
|
mkdir -p parts
|
|
|
|
python partsgen.py
|
2013-07-17 06:17:52 +00:00
|
|
|
|
|
|
|
montage.png: $(BITMAPS)
|
|
|
|
montage -label '%f' $(BITMAPS) $@
|
|
|
|
|
|
|
|
bitmaps/%.png: parts/%.dat
|
2014-09-09 14:34:56 +00:00
|
|
|
mkdir -p bitmaps
|
2013-07-17 18:30:29 +00:00
|
|
|
ldview -SaveActualSize=0 -SaveAlpha=1 -SaveWidth=300 -SaveHeight=300 -SaveZoomToFit=0 -SaveSnapShot=$@ $<
|
2014-09-09 14:34:56 +00:00
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -rf parts bitmaps
|
|
|
|
|
|
|
|
test:
|
|
|
|
sha512sum --check parts.sha512
|