From a28c5ebdc27285e9fcd20b3f922912d294cce449 Mon Sep 17 00:00:00 2001 From: Werner Almesberger Date: Mon, 25 Jul 2016 11:34:58 -0300 Subject: [PATCH] sch2fig/Makefile (test, neo900): use test.sch; separate target for Neo900 --- sch2fig/Makefile | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/sch2fig/Makefile b/sch2fig/Makefile index 5af7077..3df9276 100644 --- a/sch2fig/Makefile +++ b/sch2fig/Makefile @@ -18,7 +18,7 @@ LIBS = -lm include ../common/Makefile.c-common -.PHONY: test +.PHONY: test neo900 all:: $(NAME) @@ -32,7 +32,12 @@ sch: eeschema test.sch test: $(NAME) + ./$(NAME) test.lib test.sch >out.fig + +SHEET ?= 12 + +neo900: $(NAME) ./$(NAME) $(NEO900_HW)/neo900.lib \ $(KICAD_LIBS)/powered.lib \ - $(NEO900_HW)/neo900_SS_2.sch \ + $(NEO900_HW)/neo900_SS_$(SHEET).sch \ >out.fig