Merge branch 'master' of ssh://git.gag.com/scm/git/hw/altusmetrum
[hw/altusmetrum] / packages / Makefile
index c3c247254b86986c90aef2310ea8f6d94b347f40..9394ca4c59207e5c5e84c87f30045ae0a2696034 100644 (file)
@@ -1,4 +1,4 @@
-.SUFFIXES: .5c .py .fp
+.SUFFIXES: .5c .py .fp .lht
 
 DIRS= \
        diodes \
@@ -92,6 +92,7 @@ FOOTPRINTS= \
        ufqfpn24.fp \
        sot666.fp \
        sot323.fp \
+       sod323.fp \
        sod123.fp \
        0806.fp \
        fuse345.fp \
@@ -120,6 +121,7 @@ FOOTPRINTS= \
        s-pqfp-g32.fp \
        A29100-009.fp \
        506CD.fp \
+       11071.lht \
        11071.fp \
        M1040M.fp \
        pts645.fp \
@@ -140,6 +142,9 @@ FOOTPRINTS= \
 .py.fp:
        python $*.py > $@
 
+.py.lht:
+       python $*.py > $@
+
 BUILDDIRS=$(DIRS:%=build-%)
 CLEANDIRS=$(DIRS:%=clean-%)
 
@@ -151,10 +156,11 @@ $(BUILDDIRS):
 $(CLEANDIRS):
        $(MAKE) -C $(@:clean-%=%) clean
 
-$(FOOTPRINTS): footprint.5c
+$(FOOTPRINTS): footprint.5c fplht.py
 
 clean: $(CLEANDIRS)
-       rm -f $(FOOTPRINTS)
+       rm -f $(FOOTPRINTS) *.pyc 
+       rm -rf __pycache__
 
 .PHONY: subdirs $(DIRS)
 .PHONY: subdirs $(BUILDDIRS)