Created H Bridge Repo master
[H_Bridge.git] / makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
 
.PHONY: build
 
build: create-dirs all
 
all: gerb/H_Bridge_Gerb.zip
 
create-dirs:
        mkdir -p gerb
 
gerb/H_Bridge_Gerb.zip:
        pcb -x gerber --gerberfile gerb/H_Bridge schem/H_Bridge.pcb
        mv gerb/H_Bridge.group1.gbr             gerb/H_Bridge.GBL
        mv gerb/H_Bridge.top.gbr                        gerb/H_Bridge.GTL
        mv gerb/H_Bridge.bottommask.gbr gerb/H_Bridge.GBS
        mv gerb/H_Bridge.topmask.gbr            gerb/H_Bridge.GTS
        mv gerb/H_Bridge.bottomsilk.gbr gerb/H_Bridge.GBO
        mv gerb/H_Bridge.topsilk.gbr            gerb/H_Bridge.GTO
        mv gerb/H_Bridge.outline.gbr            gerb/H_Bridge.GKO
        mv gerb/H_Bridge.plated-drill.cnc       gerb/H_Bridge.XLN
        zip gerb/H_Bridge_Gerb.zip gerb/H_Bridge.GBL gerb/H_Bridge.GTL gerb/H_Bridge.GBS gerb/H_Bridge.GTS gerb/H_Bridge.GBO gerb/H_Bridge.GTO gerb/H_Bridge.GKO gerb/H_Bridge.XLN
        rm gerb/H_Bridge.*
 
clean:
        rm -rf gerb