Add examples

This commit is contained in:
Dimitri Lozeve 2023-03-16 22:11:50 +01:00
parent 4173ad64a1
commit 5d5fbb3d06
13 changed files with 27 additions and 0 deletions

12
examples/Makefile Normal file
View file

@ -0,0 +1,12 @@
.PHONY: all
all: checkers.png random_pbm.png random_pgm.png random_ppm.png gradient.png hsv.png
%.pnm: %.bqn
bqn $< > $@
%.png: %.pnm
pnmtopng $< | convert - -scale 300x300 - > $@
.PHONY: clean
clean:
rm -f *.png *.pnm