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 all: $(EXAMPLES) ../src/$(STATIC) $(EXAMPLES): %: %.c $(CC) $(CFLAGS) -o $@ $< $(LDFLAGS) clean: $(RM) -f $(EXAMPLES)