include ../mk/build.mk CC = $(CROSS)cc INCLUDE_PATH = ../include LIBNAME = xas CFLAGS += -I$(INCLUDE_PATH) LDFLAGS += -L../src -l$(LIBNAME) -lm EXAMPLES = test open say spatial script all: $(EXAMPLES) $(EXAMPLES): %: %.c ../src/$(STATIC) $(CC) $(CFLAGS) -o $@ $< $(LDFLAGS) clean: $(RM) -f $(EXAMPLES)