From 1674007c4ff3d79c61e06a492a30df5eb2d9cfb4 Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Wed, 10 Jul 2013 22:07:59 -0700 Subject: [PATCH] Add partslist.dk and partslist.mouser generation to Maekfile Signed-off-by: Keith Packard --- Makefile | 12 ++++++++++++ 1 file changed, 12 insertions(+) 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: -- 2.30.2