1
0
mirror of git://projects.qi-hardware.com/ben-wpan.git synced 2024-11-17 20:09:41 +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:
Werner Almesberger 2010-12-27 23:37:10 -03:00
parent fe607055f7
commit a0b064bd79
2 changed files with 15 additions and 1 deletions

14
atusb/cam2/Makefile Normal file
View 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

View File

@ -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