1
0
mirror of git://projects.qi-hardware.com/ben-blinkenlights.git synced 2024-11-16 22:12:29 +02:00
ben-blinkenlights/ubb/cam/Makefile

31 lines
623 B
Makefile

MKMK=../../../cae-tools/cameo/templates/mkmk-simple
NAME=ubb
# 6.8 / 8.4 mm
# +80 / 0 mm
# 8.6 / 7.1 mm
# + 0 / 62 mm
BOARD = X0=8.6mm Y0=69.1mm
TOOLS = DRILL=7mil,15mil MILL_IN=25mil MILL_OUT=45mil
FAB = X=0 Y=0 XN=4 YN=1
.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
../$(NAME)-PCB_Edges.gbr: ../$(NAME).brd
pcbnew --plot=gerber -l PCB_Edges `pwd`/../$(NAME).brd
-include Makefile.mkmk
clean::
rm -f Makefile.mkmk