X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=Makefile;fp=Makefile;h=631ec7e1d5dde358c30b11d79bf81dea50785125;hb=1674007c4ff3d79c61e06a492a30df5eb2d9cfb4;hp=35eff28e326d9f45995b20408a9dbe1ea6d831dc;hpb=ff029b4a56944826340ad3074d0e4ca74c94c086;p=hw%2Ftelebt 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: