X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=Makefile;h=479cd3b03f2cce76fe0b40547ee9f0eb218287e7;hb=0002981379f074b6ca6694d6dd8614906d528ab7;hp=ef83c11c6647899c01d9849054f45c8c6fe853f2;hpb=2388e6663782e72ae48ad4361ab55e014445b6e1;p=hw%2Ftelemetrum diff --git a/Makefile b/Makefile index ef83c11..479cd3b 100644 --- a/Makefile +++ b/Makefile @@ -1,22 +1,13 @@ -# intentionally want to rebuild drc and bom on every invocation -all: drc bom +# name of project, also used for PCB file +PROJECT=telemetrum -drc: beacon.sch - -gnetlist -g drc2 beacon.sch -o beacon.drc +# list of schematic files that make up this design +SCHEMATICS=telemetrum.sch -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 +# number of PCB layers +LAYERS=4 -pcb: beacon.sch project - gsch2pcb project +# sides with silkscreen, can be none|top|bottom|both +SILK=both -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 - -clean: - rm -f *.bom *.drc *.log *~ beacon.ps *.gbr *.cnc *bak* *- *.zip - rm -f *.net *.xy *.cmd - rm -f *.partslist *.new.pcb *.unsorted +include ../altusmetrum/pcb.mk