diff --git a/atusd/cam/Makefile b/atusd/cam/Makefile index 00c827b..206bbc3 100644 --- a/atusd/cam/Makefile +++ b/atusd/cam/Makefile @@ -1,4 +1,17 @@ -.PHONY: pcb +.PHONY: all clean -pcb: - ./doit >job +all: Makefile.mkmk + +Makefile.mkmk: mkmk ../atusd.drl ../atusd-PCB_Edges.gbr + ./mkmk + +../atusd.drl: ../atusd.brd + pcbnew --drill `pwd`/../atusd.brd + +../atusd-PCB_Edges.gbr: ../atusd.brd + pcbnew --plot=gerber -l PCB_Edges `pwd`/../atusd.brd + +-include Makefile.mkmk + +clean:: + rm -f Makefile.mkmk