X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=Makefile;h=ef83c11c6647899c01d9849054f45c8c6fe853f2;hb=2388e6663782e72ae48ad4361ab55e014445b6e1;hp=44aa7ed0dd478822fdfc6b5dfaf7ed9f3619be5f;hpb=8eba9bc822f8d0963fb882a0c4c04f2d92333fc9;p=hw%2Ftelemetrum diff --git a/Makefile b/Makefile index 44aa7ed..ef83c11 100644 --- a/Makefile +++ b/Makefile @@ -1,10 +1,14 @@ +# intentionally want to rebuild drc and bom on every invocation all: drc bom drc: beacon.sch -gnetlist -g drc2 beacon.sch -o beacon.drc bom: beacon.sch - gnetlist -g bom -o beacon.bom beacon.sch + gnetlist -g bom -o beacon.unsorted beacon.sch + head -n1 beacon.unsorted > beacon.bom + tail -n+2 beacon.unsorted | sort >> beacon.bom + rm -f beacon.unsorted pcb: beacon.sch project gsch2pcb project @@ -15,4 +19,4 @@ zip: beacon.plated-drill.cnc beacon.back.gbr beacon.front.gbr beacon.fab.gbr clean: rm -f *.bom *.drc *.log *~ beacon.ps *.gbr *.cnc *bak* *- *.zip rm -f *.net *.xy *.cmd - rm -f *.partslist + rm -f *.partslist *.new.pcb *.unsorted