moth/packages/steg/100/Makefile

17 lines
285 B
Makefile
Raw Normal View History

2010-10-12 16:58:34 -06:00
.DELETE_ON_ERROR:
install: file.png
cp $< $(DESTDIR)/$$(md5sum $< | awk '{print $$1;}')
2010-10-12 16:58:34 -06:00
%.pbm: %.png
pngtopnm $< > $@
2010-10-12 16:58:34 -06:00
%.png: %.pnm
pnmtopng $< > $@
2010-10-12 16:58:34 -06:00
file.pnm: lena.pbm text.txt
m4 -DKEY="$(shell cat key)" text.txt | ./encode 3< $< > $@
2010-10-12 16:58:34 -06:00
clean:
rm -f file.pnm file.png lena.pbm