1
0
mirror of git://projects.qi-hardware.com/eda-tools.git synced 2024-11-27 06:26:15 +02:00
eda-tools/fab/m1/Makefile

23 lines
441 B
Makefile
Raw Normal View History

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