1
0
mirror of git://projects.qi-hardware.com/ben-wpan.git synced 2024-11-26 04:44:05 +02:00

great atusd -> atben renaming: updated references in atben/cam/

- Makefile: changed "atusd" to $(NAME)
- mkmk: changed "atusd" to $NAME
This commit is contained in:
Werner Almesberger 2011-01-17 11:36:54 -03:00
parent 0dc344a0ec
commit fb07d57377
2 changed files with 14 additions and 11 deletions

View File

@ -1,15 +1,17 @@
NAME=atben
.PHONY: all clean
all: Makefile.mkmk
Makefile.mkmk: mkmk ../atusd.drl ../atusd-PCB_Edges.gbr
Makefile.mkmk: mkmk ../$(NAME).drl ../$(NAME)-PCB_Edges.gbr
./mkmk
../atusd.drl: ../atusd.brd
pcbnew --drill `pwd`/../atusd.brd
../$(NAME).drl: ../$(NAME).brd
pcbnew --drill `pwd`/../$(NAME).brd
../atusd-PCB_Edges.gbr: ../atusd.brd
pcbnew --plot=gerber -l PCB_Edges `pwd`/../atusd.brd
../$(NAME)-PCB_Edges.gbr: ../$(NAME).brd
pcbnew --plot=gerber -l PCB_Edges `pwd`/../$(NAME).brd
-include Makefile.mkmk

View File

@ -2,13 +2,14 @@
PATH=$PATH:/home/qi/cae-tools/cameo
PATH=$PATH:/home/moko/svn.openmoko.org/developers/werner/cncmap/gp2rml
NAME=atben
X=0
Y=1
cameo <<EOF
mm
gerber 35mil ../atusd-PCB_Edges.gbr
gerber 35mil ../$NAME-PCB_Edges.gbr
align 1 2.5mm 8.5mm # align relative to board corner
translate 3mm 3mm # move to PCB zone assigned to project
array +19mm +2.5mm $X $Y
@ -21,7 +22,7 @@ clear
# ---- 1st board ----
excellon ../atusd.drl
excellon ../$NAME.drl
drill 7mil 15mil # 12.5-13.5 mil drill
optimize
write drill.gp
@ -34,7 +35,7 @@ write mill.gp
remainder
empty
gerber 20mil ../atusd-PCB_Edges.gbr # 35 mil endmill, 15 mil deflection
gerber 20mil ../$NAME-PCB_Edges.gbr # 35 mil endmill, 15 mil deflection
offset
append mill.gp
@ -44,7 +45,7 @@ clear
reset
gerber 35mil ../atusd-PCB_Edges.gbr
gerber 35mil ../$NAME-PCB_Edges.gbr
rotate 180
align 1 2.5mm 8.5mm # align relative to board corner
@ -54,7 +55,7 @@ array +19mm +2.5mm $X $Y
clear
excellon ../atusd.drl
excellon ../$NAME.drl
drill 7mil 15mil # 12.5-13.5 mil drill
optimize
append drill.gp
@ -67,7 +68,7 @@ append mill.gp
remainder
empty
gerber 20mil ../atusd-PCB_Edges.gbr # 35 mil endmill, 15 mil deflection
gerber 20mil ../$NAME-PCB_Edges.gbr # 35 mil endmill, 15 mil deflection
offset
append mill.gp
EOF