Make footprint files depend on footprint.5c
[hw/altusmetrum] / packages / switches / Makefile
1 .SUFFIXES: .5c .py .fp
2
3 FOOTPRINTS = \
4         cus-12.fp
5
6 .5c.fp:
7         nickle $*.5c > $@
8
9 .py.fp:
10         python $*.py > $@
11
12 all: $(FOOTPRINTS) .gitignore
13
14 $(FOOTPRINTS): ../footprint.5c
15
16 clean:
17         rm -f $(FOOTPRINTS)
18
19 .gitignore: Makefile
20         for i in $@ $(FOOTPRINTS); do echo $$i; done > $@