1
0
mirror of git://projects.qi-hardware.com/wernermisc.git synced 2024-11-15 12:08:27 +02:00
wernermisc/m1/case/Makefile

20 lines
364 B
Makefile
Raw Normal View History

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