mirror of
git://projects.qi-hardware.com/ben-blinkenlights.git
synced 2024-12-28 20:24:17 +02:00
23 lines
432 B
Makefile
23 lines
432 B
Makefile
|
NAME=ubb
|
||
|
|
||
|
BOARD = X0=8.0mm Y0=8.1mm
|
||
|
FAB = X=0 Y=0 XN=1 YN=5
|
||
|
|
||
|
.PHONY: all clean
|
||
|
|
||
|
all: Makefile.mkmk
|
||
|
|
||
|
Makefile.mkmk: mkmk ../$(NAME).drl ../$(NAME)-PCB_Edges.gbr
|
||
|
./mkmk NAME=$(NAME) $(BOARD) $(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
|