change to 4-lead symbol for SMT crystal, and get the pin numbers right
[hw/telemetrum] / Makefile
index 523442abc1d1993039e2dbd7256051ffffdec5b4..3a80d7894897aaa86db5ece4e0a822693bc554ef 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,18 +1,23 @@
+# intentionally want to rebuild drc and bom on every invocation
 all:   drc bom
 
-drc:   beacon.sch
-       -gnetlist -g drc2 beacon.sch -o beacon.drc
+drc:   telemetrum.sch
+       -gnetlist -g drc2 telemetrum.sch -o telemetrum.drc
 
-bom:   beacon.sch
-       gnetlist -g bom -o beacon.bom beacon.sch
+bom:   telemetrum.sch
+       gnetlist -g bom -o telemetrum.unsorted telemetrum.sch
+       head -n1 telemetrum.unsorted > telemetrum.bom
+       tail -n+2 telemetrum.unsorted | sort >> telemetrum.bom
+       rm -f telemetrum.unsorted
 
-pcb:   beacon.sch project
+pcb:   telemetrum.sch project
        gsch2pcb project
 
-zip:   beacon.plated-drill.cnc beacon.back.gbr beacon.front.gbr beacon.fab.gbr
-       zip beacon.zip beacon.plated-drill.cnc beacon.back.gbr beacon.front.gbr beacon.fab.gbr
+zip:   telemetrum.back.gbr telemetrum.backmask.gbr telemetrum.fab.gbr telemetrum.front.gbr telemetrum.frontmask.gbr telemetrum.frontpaste.gbr telemetrum.frontsilk.gbr telemetrum.group2.gbr telemetrum.group3.gbr telemetrum.plated-drill.cnc
+       zip telemetrum.zip telemetrum.back.gbr telemetrum.backmask.gbr telemetrum.fab.gbr telemetrum.front.gbr telemetrum.frontmask.gbr telemetrum.frontpaste.gbr telemetrum.frontsilk.gbr telemetrum.group2.gbr telemetrum.group3.gbr telemetrum.plated-drill.cnc
 
 clean:
-       rm -f *.bom *.drc *.log *~ beacon.ps *.gbr *.cnc *bak* *- *.zip 
-       rm -f *.net *.xy *.cmd
-       rm -f *.partslist *.new.pcb
+       rm -f *.bom *.drc *.log *~ telemetrum.ps *.gbr *.cnc *bak* *- *.zip 
+       rm -f *.net *.xy *.cmd *.png
+       rm -f *.partslist *.new.pcb *.unsorted
+