From 561b87224f8a474563ee70d33d148f0daf735249 Mon Sep 17 00:00:00 2001 From: XANTRONIX Development Date: Wed, 23 Feb 2022 00:20:42 -0500 Subject: Make examples/ rebuild on src/libxas.a change --- examples/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'examples') diff --git a/examples/Makefile b/examples/Makefile index 5604297..6aae7f2 100644 --- a/examples/Makefile +++ b/examples/Makefile @@ -3,13 +3,14 @@ include ../mk/build.mk CC = $(CROSS)cc INCLUDE_PATH = ../include +LIBNAME = xas CFLAGS += -I$(INCLUDE_PATH) -LDFLAGS += -L../src -lxas -lm +LDFLAGS += -L../src -l$(LIBNAME) -lm EXAMPLES = test open say spatial -all: $(EXAMPLES) +all: $(EXAMPLES) ../src/$(STATIC) $(EXAMPLES): %: %.c $(CC) $(CFLAGS) -o $@ $< $(LDFLAGS) -- cgit v1.2.3