930e0ac52e19b533538032b30929e6dce41347c6
[hw/altusmetrum] / packages / switches / Makefile
1 .SUFFIXES: .5c .py .fp
2
3 FOOTPRINTS = \
4         20571.fp \
5         cus-12.fp \
6         lph.fp \
7         PNswitchDPDT.fp \
8         SK12F17.fp 
9
10 .5c.fp:
11         nickle $*.5c -o $@
12
13 .py.fp:
14         python2 $*.py > $@
15
16 all: $(FOOTPRINTS) .gitignore
17
18 $(FOOTPRINTS): ../footprint.5c
19
20 clean:
21         rm -f $(FOOTPRINTS)
22
23 .gitignore: Makefile
24         for i in $@ $(FOOTPRINTS); do echo $$i; done > $@