2011-02-22 04:31:04 +02:00
|
|
|
MKMK=../../../cae-tools/cameo/templates/mkmk-simple
|
|
|
|
|
|
|
|
NAME=atusb
|
|
|
|
|
|
|
|
BOARD = X0=9.2mm Y0=8.1mm
|
|
|
|
|
|
|
|
# drill: 12.5-13.5 mil
|
|
|
|
# in: 35 mil endmill; pretend it is smaller, to compensate for
|
|
|
|
# tool/board deflections
|
|
|
|
# out: 35 mil endmill, 11 mil deflection
|
|
|
|
#
|
|
|
|
TOOLS = DRILL=7mil,15mil MILL_IN=12mil MILL_OUT=50mil
|
|
|
|
|
|
|
|
#FAB = ROT=90 X=0 Y=1 XN=1 YN=2
|
|
|
|
FAB = ROT=90 X=1 Y=1 XN=1 YN=2
|
|
|
|
|
2010-12-28 04:50:00 +02:00
|
|
|
.PHONY: all clean
|
2010-12-28 04:37:10 +02:00
|
|
|
|
|
|
|
all: Makefile.mkmk
|
|
|
|
|
2011-02-22 04:31:04 +02:00
|
|
|
Makefile.mkmk: $(MKMK) ../$(NAME).drl ../$(NAME)-PCB_Edges.gbr Makefile
|
|
|
|
$(MKMK) NAME=$(NAME) $(BOARD) $(TOOLS) $(FAB)
|
2010-12-28 04:37:10 +02:00
|
|
|
|
2011-02-22 04:31:04 +02:00
|
|
|
../$(NAME).drl: ../$(NAME).brd
|
|
|
|
pcbnew --drill `pwd`/../$(NAME).brd
|
|
|
|
touch $@
|
2010-12-28 04:37:10 +02:00
|
|
|
|
2011-02-22 04:31:04 +02:00
|
|
|
../$(NAME)-PCB_Edges.gbr: ../$(NAME).brd
|
|
|
|
pcbnew --plot=gerber -l PCB_Edges `pwd`/../$(NAME).brd
|
2010-12-28 04:37:10 +02:00
|
|
|
|
|
|
|
-include Makefile.mkmk
|
2010-12-28 04:50:00 +02:00
|
|
|
|
|
|
|
clean::
|
|
|
|
rm -f Makefile.mkmk
|