move to use of common scheme library
[hw/megadongle] / Makefile
index b844079630cc2109000f5d8160d2a473f6438973..60a8f90bf86f99078a9ee7e3b2304a4dc71be25f 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -11,7 +11,8 @@ partslist:    megadongle.sch Makefile
        rm -f megadongle.unsorted
 
 partslist.csv: megadongle.sch Makefile
-       gnetlist -g partslist4 -o megadongle.unsorted megadongle.sch
+       gnetlist -L ../altusmetrum/scheme -g partslistgag \
+               -o megadongle.unsorted megadongle.sch
        head -n1 megadongle.unsorted > partslist.csv
        tail -n+2 megadongle.unsorted | sort -t \, -k 8 >> partslist.csv
        rm -f megadongle.unsorted
@@ -45,6 +46,6 @@ zip:  megadongle.bottom.gbr megadongle.bottommask.gbr megadongle.fab.gbr megadong
 
 clean:
        rm -f *.bom *.drc *.log *~ megadongle.ps *.gbr *.cnc *bak* *- *.zip 
-       rm -f *.net *.xy *.cmd *.png partslist
-       rm -f *.partslist *.new.pcb *.unsorted
+       rm -f *.net *.xy *.cmd *.png 
+       rm -f partslist* *.new.pcb *.unsorted