OUT=scad.stl cadmium.stl

.PHONY:		all clean

all:		$(OUT)

scad.stl:	button.scad
		time openscad -s $@ $<

cadmium.stl:	button.py
		time ./$<
		mv button.stl $@

clean:
		rm -f $(OUT)