mirror of
git://projects.qi-hardware.com/eda-tools.git
synced 2024-08-23 05:16:47 +03:00
23 lines
441 B
Makefile
23 lines
441 B
Makefile
ifndef REV
|
|
REV = rc3
|
|
endif
|
|
|
|
D=$(REV)_gerber
|
|
|
|
all: front.png back.png
|
|
|
|
drill.pho:
|
|
tr -d '\015' <$(D)/drl00.drl | REV=$(REV) ./drl2gerber >$@
|
|
|
|
front.png: drill.pho
|
|
cd $(D) && ../prettygerbv -d ../drill.pho foo front ../$@
|
|
|
|
back.png: drill.pho
|
|
cd $(D) && ../prettygerbv -d ../drill.pho foo back ../$@
|
|
|
|
conn.png: drill.pho
|
|
cd $(D) && ../prettygerbv -d ../drill.pho foo conn ../$@
|
|
|
|
clean:
|
|
rm -f drill.pho front.png back.png conn.png
|