convert Python footprint generators to Python 3
[hw/altusmetrum] / packages / switches / Makefile
index 41e782e9899bc54e3e34d00264634bd2e4c5b17e..09a72b3a0b758bf1c0e904ff016b8d70c6de79ea 100644 (file)
@@ -1,16 +1,22 @@
 .SUFFIXES: .5c .py .fp
 
 FOOTPRINTS = \
-       cus-12.fp
+       20571.fp \
+       cus-12.fp \
+       lph.fp \
+       PNswitchDPDT.fp \
+       SK12F17.fp 
 
 .5c.fp:
-       nickle $*.5c > $@
+       nickle $*.5c -o $@
 
 .py.fp:
-       python $*.py > $@
+       python3 $*.py > $@
 
 all: $(FOOTPRINTS) .gitignore
 
+$(FOOTPRINTS): ../footprint.5c
+
 clean:
        rm -f $(FOOTPRINTS)