2011-02-15 09:20:51 +02:00
|
|
|
MKMK=../../../cae-tools/cameo/templates/mkmk-simple
|
|
|
|
|
2011-02-03 02:42:37 +02:00
|
|
|
NAME=ubb
|
|
|
|
|
2011-02-15 09:20:51 +02:00
|
|
|
# 6.8 / 8.4 mm
|
|
|
|
# +80 / 0 mm
|
|
|
|
BOARD = X0=86.8mm Y0=8.4mm
|
|
|
|
TOOLS = DRILL=7mil,15mil MILL_IN=25mil MILL_OUT=45mil
|
|
|
|
FAB = X=0 Y=0 XN=1 YN=4
|
2011-02-03 02:42:37 +02:00
|
|
|
|
|
|
|
.PHONY: all clean
|
|
|
|
|
|
|
|
all: Makefile.mkmk
|
|
|
|
|
2011-02-15 09:20:51 +02:00
|
|
|
Makefile.mkmk: $(MKMK) ../$(NAME).drl ../$(NAME)-PCB_Edges.gbr
|
|
|
|
$(MKMK) NAME=$(NAME) $(BOARD) $(TOOLS) $(FAB)
|
2011-02-03 02:42:37 +02:00
|
|
|
|
|
|
|
../$(NAME).drl: ../$(NAME).brd
|
|
|
|
pcbnew --drill `pwd`/../$(NAME).brd
|
|
|
|
|
|
|
|
../$(NAME)-PCB_Edges.gbr: ../$(NAME).brd
|
|
|
|
pcbnew --plot=gerber -l PCB_Edges `pwd`/../$(NAME).brd
|
|
|
|
|
|
|
|
-include Makefile.mkmk
|
|
|
|
|
|
|
|
clean::
|
|
|
|
rm -f Makefile.mkmk
|