diff --git a/atusb/cam2/Makefile b/atusb/cam2/Makefile new file mode 100644 index 0000000..70c8af6 --- /dev/null +++ b/atusb/cam2/Makefile @@ -0,0 +1,14 @@ +.PHONY: all + +all: Makefile.mkmk + +Makefile.mkmk: mkmk ../atusb.drl ../atusb-PCB_Edges.gbr + ./mkmk + +../atusb.drl: ../atusb.brd + pcbnew --drill `pwd`/../atusb.brd + +../atusb-PCB_Edges.gbr: ../atusb.brd + pcbnew --plot=gerber -l PCB_Edges `pwd`/../atusb.brd + +-include Makefile.mkmk diff --git a/atusb/cam2/mkmk b/atusb/cam2/mkmk index 2a96cb3..3f2113c 100755 --- a/atusb/cam2/mkmk +++ b/atusb/cam2/mkmk @@ -38,7 +38,7 @@ gp2rml 2 0.5 0.5 mill.gp >mill.rml gp2rml 2 0.1 0.5 drill.gp >drill.rml -cat <Makefile +cat <Makefile.mkmk SPOOL=/home/moko/svn.openmoko.org/developers/werner/cncmap/spool/spool CNGT=/home/qi/cae-tools/cngt/cngt