Werner's Miscellanea
Sign in or create your account | Project List | Help
Werner's Miscellanea Git Source Tree
Root/
| 1 | SPOOL=/home/moko/svn.openmoko.org/developers/werner/cncmap/spool/spool |
| 2 | CNGT=/home/qi/cae-tools/cngt/cngt |
| 3 | |
| 4 | Z0=-55.0 |
| 5 | BOARD=X0=5.0mm Y0=0.0mm Z0=$(Z0)mm BOARD_Z=3.5mm |
| 6 | TASK=Y=1 |
| 7 | |
| 8 | .PHONY: all front rear cng clean |
| 9 | |
| 10 | all: front.rml rear.rml |
| 11 | |
| 12 | front.gp: case.fpd |
| 13 | fped -g -1 M1-front $< $@ |
| 14 | |
| 15 | rear.gp: case.fpd |
| 16 | fped -g -1 M1-rear $< $@ |
| 17 | |
| 18 | %.rml: %.gp |
| 19 | ./doit `basename $< .gp` $(BOARD) $(TASK) CLEARANCE=5mm || \ |
| 20 | { rm -f $@; exit 1; } |
| 21 | |
| 22 | front: front.rml |
| 23 | PORT=/dev/ttyUSB0 $(SPOOL) $< |
| 24 | |
| 25 | rear: rear.rml |
| 26 | PORT=/dev/ttyUSB0 $(SPOOL) $< |
| 27 | |
| 28 | cng: front.rml |
| 29 | $(CNGT) $(Z0) 20 _front.gp |
| 30 | |
| 31 | clean: |
| 32 | rm -f front.gp _front.gp front.rml |
| 33 | rm -f rear.gp _rear.gp rear.rml |
| 34 |
Branches:
master
