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

31 lines
623 B
Makefile
Raw Permalink 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
# 8.6 / 7.1 mm
# + 0 / 62 mm
BOARD = X0=8.6mm Y0=69.1mm
2011-02-15 09:20:51 +02:00
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
2011-02-15 09:20:51 +02:00
$(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