X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=Makefile;h=b18940eb84cb03252761d77fcc7f6263d12faa22;hb=a77c6bc8c9e2b3c91650ccd6a6e04870fed6bdc1;hp=3a80d7894897aaa86db5ece4e0a822693bc554ef;hpb=94c16b56a476ec0027f77745cd872041271b9a5c;p=hw%2Ftelemetrum diff --git a/Makefile b/Makefile index 3a80d78..b18940e 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ # intentionally want to rebuild drc and bom on every invocation -all: drc bom +all: drc bom pcb drc: telemetrum.sch -gnetlist -g drc2 telemetrum.sch -o telemetrum.drc @@ -13,8 +13,23 @@ bom: telemetrum.sch pcb: telemetrum.sch project gsch2pcb project +# note that 'gschlas -e foo.sch' will embed all symbols in the schematic, this +# might be a really good idea for publishing designs to the web that others +# might review? Like this example from DJ: +# +#web : +# for i in channel.sch ethernet.sch power.sch mcu.sch; do \ +# cp $$i tmp.sch ; \ +# gschlas -e tmp.sch ; \ +# mv tmp.sch ${WEB}/$$i; \ +# done + +# this shoves local work out to the git.gag.com repository +push: + git push --mirror + 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 + zip telemetrum.zip *.gbr *.cnc clean: rm -f *.bom *.drc *.log *~ telemetrum.ps *.gbr *.cnc *bak* *- *.zip