From: Keith Packard Date: Thu, 11 Jul 2013 05:07:59 +0000 (-0700) Subject: Add partslist.dk and partslist.mouser generation to Maekfile X-Git-Tag: fab-1.1~7 X-Git-Url: https://git.gag.com/?p=hw%2Ftelebt;a=commitdiff_plain;h=1674007c4ff3d79c61e06a492a30df5eb2d9cfb4 Add partslist.dk and partslist.mouser generation to Maekfile Signed-off-by: Keith Packard --- diff --git a/Makefile b/Makefile index 35eff28..631ec7e 100644 --- a/Makefile +++ b/Makefile @@ -1,3 +1,9 @@ +PROJECT=telebt +AM=../altusmetrum +SCHEME=$(AM)/scheme +NICKLE=$(AM)/nickle +RETAB=nickle $(NICKLE)/retab + # intentionally want to rebuild drc and bom on every invocation all: drc partslist partslist.csv pcb @@ -20,6 +26,12 @@ partslist.csv: telebt.sch Makefile pcb: telebt.sch project Makefile gsch2pcb project +partslist.dk: $(PROJECT).sch Makefile $(SCHEME)/gnet-partslist-bom.scm + gnetlist -L $(SCHEME) -g partslist-bom -Ovendor=digikey -o $@ $(PROJECT).sch + +partslist.mouser: $(PROJECT).sch Makefile $(SCHEME)/gnet-partslist-bom.scm + gnetlist -L $(SCHEME) -g partslist-bom -Ovendor=mouser -o $@ $(PROJECT).sch + # 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: