diff options
Diffstat (limited to 'examples/Makefile')
-rw-r--r-- | examples/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
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) |