Date:2011-01-17 15:36:54 (8 years 10 months ago)
Author:Werner Almesberger
Commit:fb07d573777f6249b21e9f57a9a04843c0da3681
Message:great atusd -> atben renaming: updated references in atben/cam/

- Makefile: changed "atusd" to $(NAME)
- mkmk: changed "atusd" to $NAME
Files: atben/cam/Makefile (1 diff)
atben/cam/mkmk (6 diffs)

Change Details

atben/cam/Makefile
1NAME=atben
2
13.PHONY: all clean
24
35all: Makefile.mkmk
46
5Makefile.mkmk: mkmk ../atusd.drl ../atusd-PCB_Edges.gbr
7Makefile.mkmk: mkmk ../$(NAME).drl ../$(NAME)-PCB_Edges.gbr
68            ./mkmk
79
8../atusd.drl: ../atusd.brd
9            pcbnew --drill `pwd`/../atusd.brd
10../$(NAME).drl: ../$(NAME).brd
11            pcbnew --drill `pwd`/../$(NAME).brd
1012
11../atusd-PCB_Edges.gbr: ../atusd.brd
12            pcbnew --plot=gerber -l PCB_Edges `pwd`/../atusd.brd
13../$(NAME)-PCB_Edges.gbr: ../$(NAME).brd
14            pcbnew --plot=gerber -l PCB_Edges `pwd`/../$(NAME).brd
1315
1416-include Makefile.mkmk
1517
atben/cam/mkmk
22PATH=$PATH:/home/qi/cae-tools/cameo
33PATH=$PATH:/home/moko/svn.openmoko.org/developers/werner/cncmap/gp2rml
44
5NAME=atben
56X=0
67Y=1
78
89cameo <<EOF
910mm
1011
11gerber 35mil ../atusd-PCB_Edges.gbr
12gerber 35mil ../$NAME-PCB_Edges.gbr
1213align 1 2.5mm 8.5mm # align relative to board corner
1314translate 3mm 3mm # move to PCB zone assigned to project
1415array +19mm +2.5mm $X $Y
...... 
2122
2223# ---- 1st board ----
2324
24excellon ../atusd.drl
25excellon ../$NAME.drl
2526drill 7mil 15mil # 12.5-13.5 mil drill
2627optimize
2728write drill.gp
...... 
3435remainder
3536empty
3637
37gerber 20mil ../atusd-PCB_Edges.gbr # 35 mil endmill, 15 mil deflection
38gerber 20mil ../$NAME-PCB_Edges.gbr # 35 mil endmill, 15 mil deflection
3839offset
3940append mill.gp
4041
...... 
4445
4546reset
4647
47gerber 35mil ../atusd-PCB_Edges.gbr
48gerber 35mil ../$NAME-PCB_Edges.gbr
4849rotate 180
4950
5051align 1 2.5mm 8.5mm # align relative to board corner
...... 
5455
5556clear
5657
57excellon ../atusd.drl
58excellon ../$NAME.drl
5859drill 7mil 15mil # 12.5-13.5 mil drill
5960optimize
6061append drill.gp
...... 
6768remainder
6869empty
6970
70gerber 20mil ../atusd-PCB_Edges.gbr # 35 mil endmill, 15 mil deflection
71gerber 20mil ../$NAME-PCB_Edges.gbr # 35 mil endmill, 15 mil deflection
7172offset
7273append mill.gp
7374EOF

Archive Download the corresponding diff file



interactive