Add examples
This commit is contained in:
parent
4173ad64a1
commit
5d5fbb3d06
13 changed files with 27 additions and 0 deletions
12
examples/Makefile
Normal file
12
examples/Makefile
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue