1
0
mirror of git://projects.qi-hardware.com/ben-wpan.git synced 2024-11-23 04:57:10 +02:00
ben-wpan/atusb/cam/Makefile

35 lines
773 B
Makefile
Raw Normal View History

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
.PHONY: all clean
all: Makefile.mkmk
Makefile.mkmk: $(MKMK) ../$(NAME).drl ../$(NAME)-PCB_Edges.gbr Makefile
$(MKMK) NAME=$(NAME) $(BOARD) $(TOOLS) $(FAB)
../$(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