X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=Makefile;h=30650f3901221747981b5a25d102ff0e45813357;hb=44fea0966fb2e397fcf8743f0d443ec3f232161c;hp=3a80d7894897aaa86db5ece4e0a822693bc554ef;hpb=94c16b56a476ec0027f77745cd872041271b9a5c;p=hw%2Ftelemetrum diff --git a/Makefile b/Makefile index 3a80d78..30650f3 100644 --- a/Makefile +++ b/Makefile @@ -1,23 +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: telemetrum.sch - -gnetlist -g drc2 telemetrum.sch -o telemetrum.drc +# list of schematic files that make up this design +SCHEMATICS=telemetrum.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 +# number of PCB layers +LAYERS=4 -pcb: telemetrum.sch project - gsch2pcb project - -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 *~ telemetrum.ps *.gbr *.cnc *bak* *- *.zip - rm -f *.net *.xy *.cmd *.png - rm -f *.partslist *.new.pcb *.unsorted +# sides with silkscreen, can be none|top|bottom|both +SILK=top +include ../altusmetrum/pcb.mk