X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=Makefile;h=e3afde2f66dc1c479d8c8f6d67529813c451e3c4;hb=5c2b146bd92e6fe5c05b8d95dc7f2e9714ea7f45;hp=523442abc1d1993039e2dbd7256051ffffdec5b4;hpb=5eade1261d9eec6c07bd565fe71f83e8ac3f12b9;p=hw%2Ftelemetrum diff --git a/Makefile b/Makefile index 523442a..e3afde2 100644 --- a/Makefile +++ b/Makefile @@ -1,18 +1,22 @@ +# 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.plated-drill.cnc telemetrum.back.gbr telemetrum.front.gbr telemetrum.fab.gbr + zip telemetrum.zip telemetrum.plated-drill.cnc telemetrum.back.gbr telemetrum.front.gbr telemetrum.fab.gbr clean: - rm -f *.bom *.drc *.log *~ beacon.ps *.gbr *.cnc *bak* *- *.zip + rm -f *.bom *.drc *.log *~ telemetrum.ps *.gbr *.cnc *bak* *- *.zip rm -f *.net *.xy *.cmd - rm -f *.partslist *.new.pcb + rm -f *.partslist *.new.pcb *.unsorted