1
0
mirror of git://projects.qi-hardware.com/ben-wpan.git synced 2024-11-27 03:32:49 +02:00
ben-wpan/atusb/cam/Makefile
Werner Almesberger 125055b0fe Updates CAM processes of various sub-projects
- atben/cam/mkmk: introduced variables for board corner
- atben/cam/mkmk: updated for new raw board
- atusb-pgm/cam/Makefile: updated for new board
- atusb/cam/Makefile: introduced abstraction with $(NAME)
- atusb/cam/Makefile: use cameo/templates/mkmk-simple instead of local mkmk
- atusb/cam/mkmk: removed
- atusb/cam/Makefile: updated for new board
2011-02-21 23:31:04 -03:00

35 lines
773 B
Makefile

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