1
0
mirror of git://projects.qi-hardware.com/ben-blinkenlights.git synced 2024-11-27 16:57:31 +02:00

ubb/cam/Makefile: use mkmk-simple

This commit is contained in:
Werner Almesberger 2011-02-15 04:20:51 -03:00
parent 0c56f05575
commit daa6331650

View File

@ -1,14 +1,19 @@
MKMK=../../../cae-tools/cameo/templates/mkmk-simple
NAME=ubb
BOARD = X0=8.0mm Y0=8.1mm
FAB = X=0 Y=0 XN=1 YN=5
# 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
.PHONY: all clean
all: Makefile.mkmk
Makefile.mkmk: mkmk ../$(NAME).drl ../$(NAME)-PCB_Edges.gbr
./mkmk NAME=$(NAME) $(BOARD) $(FAB)
Makefile.mkmk: $(MKMK) ../$(NAME).drl ../$(NAME)-PCB_Edges.gbr
$(MKMK) NAME=$(NAME) $(BOARD) $(TOOLS) $(FAB)
../$(NAME).drl: ../$(NAME).brd
pcbnew --drill `pwd`/../$(NAME).brd