Standardize all flames
[ianweller-flames.git] / Makefile
blobf1cd1f3361d72d3b64ee0f5016b5574ba02b949e
1 jpg = $(patsubst %.flame,%.jpg,$(wildcard *.flame))
2 png = $(patsubst %.flame,%.png,$(wildcard *.flame))
3 xcf = $(patsubst %.flame,%.xcf,$(wildcard *.flame))
5 all: jpg
7 png: $(png)
9 xcf: $(xcf)
11 jpg: $(jpg)
13 %.png: %.flame
14 nice -n 5 env out=$@ format=png use_mem=1024M nstrips=1 $(FLAM3OPTS) flam3-render < $<
16 %.xcf: %.png
17 echo '(make-fractal-border "$<" "$@" "scripts/ianweller.png") (gimp-quit 0)' | cat scripts/fractal-border.scm - | gimp -i -b -
19 %.jpg: %.xcf
20 echo '(make-fractal-jpeg "$<" "$@") (gimp-quit 0)' | cat scripts/jpeg.scm - | gimp -i -b -
22 clean:
23 rm -f *.jpg *.png *.xcf
25 .PHONY: all png xcf jpg clean