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