SPOOL=/home/moko/svn.openmoko.org/developers/werner/cncmap/spool/spool BOARD=X0=5.0mm Y0=0.0mm Z0=-56.0mm BOARD_Z=4mm .PHONY: all mill clean all: mill.rml case.gp: case.fpd fped -g $< mill.rml: case.gp ./doit $(BOARD) CLEARANCE=5mm || { rm -f $@; exit 1; } mill: mill.rml PORT=/dev/ttyUSB0 $(SPOOL) mill.rml clean: rm -f case.gp mill.gp mill.rml