2011-02-15 08:46:38 +02:00
|
|
|
MKMK=../../../cae-tools/cameo/templates/mkmk-simple
|
|
|
|
#MKMK=../../../ben-blinkenlights/ubb/cam/mkmk
|
|
|
|
|
2011-02-03 08:46:26 +02:00
|
|
|
|
|
|
|
NAME=atusb-pgm
|
|
|
|
|
2011-02-15 08:46:38 +02:00
|
|
|
# 6.8 / 8.4 mm
|
|
|
|
# + 0 / 59 mm
|
|
|
|
BOARD = X0=6.8mm Y0=67.4mm
|
2011-02-22 04:31:04 +02:00
|
|
|
# 9.2 8.1
|
|
|
|
# 0 59
|
|
|
|
# 0 -0.5
|
|
|
|
BOARD = X0=9.2mm Y0=66.6mm
|
2011-02-15 08:46:38 +02:00
|
|
|
TOOLS = DRILL=7mil,15mil MILL_IN=25mil MILL_OUT=45mil
|
|
|
|
FAB = X=0 Y=0 XN=3 YN=1
|
2011-02-03 08:46:26 +02:00
|
|
|
|
|
|
|
.PHONY: all clean
|
|
|
|
|
|
|
|
all: Makefile.mkmk
|
|
|
|
|
|
|
|
Makefile.mkmk: $(MKMK) ../$(NAME).drl ../$(NAME)-PCB_Edges.gbr
|
2011-02-15 08:46:38 +02:00
|
|
|
$(MKMK) NAME=$(NAME) $(BOARD) $(TOOLS) $(FAB)
|
2011-02-03 08:46:26 +02:00
|
|
|
|
|
|
|
../$(NAME).drl: ../$(NAME).brd
|
|
|
|
pcbnew --drill `pwd`/../$(NAME).brd
|
|
|
|
touch $@
|
|
|
|
|
|
|
|
../$(NAME)-PCB_Edges.gbr: ../$(NAME).brd
|
|
|
|
pcbnew --plot=gerber -l PCB_Edges `pwd`/../$(NAME).brd
|
|
|
|
|
|
|
|
-include Makefile.mkmk
|
|
|
|
|
|
|
|
clean::
|
|
|
|
rm -f Makefile.mkmk
|