3d/glas/GNUmakefile

28 lines
273 B
Makefile

# what's where?
include GNUmakevars
all: \
test-glas.jpg \
%.ppm: %.pov
$(POVRAY) +L$(POVINC) +V -I$< +FP
%.pov: make%
$< > $@
test-glas.ppm: test-glas.pov glas.pov
%.gif: %.ppm
ppmquant 256 $< | ppmtogif > $@
%.jpg: %.ppm
cjpeg $< > $@
www/%: %
cp $< $@