3d/pr/roboter/GNUmakefile

26 lines
465 B
Makefile

# what's where?
POVHOME=/usr/lib/povray3
POVBIN=/usr/bin
POVINC=$(POVHOME)/include
POVRAY=$(POVBIN)/x-povray
all: \
test-kopf.ppm \
test-hand.ppm \
test-torso.ppm \
test-roboter.ppm \
%.ppm: %.pov
$(POVRAY) +V -I$< +L$(POVINC) +D +FP
%.pov: make%
$< > $@
test-kopf.ppm: test-kopf.pov kopf.pov
test-hand.ppm: test-hand.pov hand.pov
test-torso.ppm: test-torso.pov torso.pov
test-roboter.ppm: test-roboter.pov roboter.pov kopf.pov torso.pov \
hand.pov