mirror of
git://projects.qi-hardware.com/ben-blinkenlights.git
synced 2024-12-28 20:54:35 +02:00
28 lines
583 B
Makefile
28 lines
583 B
Makefile
MKMK=../../../cae-tools/cameo/templates/mkmk-simple
|
|
|
|
NAME=ubb
|
|
|
|
# 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) $(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
|