mirror of
git://projects.qi-hardware.com/wernermisc.git
synced 2024-12-18 15:53:10 +02:00
20 lines
364 B
Makefile
20 lines
364 B
Makefile
|
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
|