mirror of
git://projects.qi-hardware.com/ben-wpan.git
synced 2024-11-22 17:21:52 +02:00
atusb/cam2/: streamlined CAM data processing, added generation of prerequisites
- mkmk: call generated makefile "Makefile.mkmk" - Makefile: generate mkmk prerequisites, run mkmk, and execute targets in Makefile.mkmk
This commit is contained in:
parent
fe607055f7
commit
a0b064bd79
14
atusb/cam2/Makefile
Normal file
14
atusb/cam2/Makefile
Normal file
@ -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
|
@ -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 <<EOF >Makefile
|
||||
cat <<EOF >Makefile.mkmk
|
||||
SPOOL=/home/moko/svn.openmoko.org/developers/werner/cncmap/spool/spool
|
||||
CNGT=/home/qi/cae-tools/cngt/cngt
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user