mirror of
git://projects.qi-hardware.com/ben-wpan.git
synced 2024-11-22 08:10:17 +02:00
125055b0fe
- 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
35 lines
704 B
Makefile
35 lines
704 B
Makefile
MKMK=../../../cae-tools/cameo/templates/mkmk-simple
|
|
#MKMK=../../../ben-blinkenlights/ubb/cam/mkmk
|
|
|
|
|
|
NAME=atusb-pgm
|
|
|
|
# 6.8 / 8.4 mm
|
|
# + 0 / 59 mm
|
|
BOARD = X0=6.8mm Y0=67.4mm
|
|
# 9.2 8.1
|
|
# 0 59
|
|
# 0 -0.5
|
|
BOARD = X0=9.2mm Y0=66.6mm
|
|
TOOLS = DRILL=7mil,15mil MILL_IN=25mil MILL_OUT=45mil
|
|
FAB = X=0 Y=0 XN=3 YN=1
|
|
|
|
.PHONY: all clean
|
|
|
|
all: Makefile.mkmk
|
|
|
|
Makefile.mkmk: $(MKMK) ../$(NAME).drl ../$(NAME)-PCB_Edges.gbr
|
|
$(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
|