Merge branch 'master' of ssh://git.gag.com/scm/git/hw/altusmetrum
[hw/altusmetrum] / packages / diodes / Makefile
index 830bdc268021686255ed7ff5e93679a721cfd8da..e9ea782fe0d7c9f40673cc413d2ff9fc5e295067 100644 (file)
@@ -1,18 +1,24 @@
 .SUFFIXES: .5c .py .fp
 
 FOOTPRINTS = \
-       powerdi123.fp
+       0605.fp \
+       powerdi123.fp \
+       topled.fp \
+       2125.fp \
+       0603-sideled.fp
 
 .5c.fp:
-       nickle $*.5c > $@
+       nickle $*.5c -o $@
 
 .py.fp:
        python $*.py > $@
 
 all: $(FOOTPRINTS) .gitignore
 
+$(FOOTPRINTS): ../footprint.5c
+
 clean:
        rm -f $(FOOTPRINTS)
 
 .gitignore: Makefile
-       for i in $@ $(FOOTPRINTS); do echo $$i; done > $@
\ No newline at end of file
+       for i in $@ $(FOOTPRINTS); do echo $$i; done > $@