1
0
mirror of git://projects.qi-hardware.com/eda-tools.git synced 2024-11-30 09:40:17 +02:00
eda-tools/fab/m1/Makefile
2012-07-10 12:26:11 -03:00

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