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

28 lines
583 B
Makefile
Raw Normal View History

2011-02-15 09:20:51 +02:00
MKMK=../../../cae-tools/cameo/templates/mkmk-simple
NAME=ubb
2011-02-15 09:20:51 +02:00
# 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
2011-02-15 09:20:51 +02:00
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