1 2 3 4 5 6 7
LIBFLASH_SRCS = libflash.c libffs.c LIBFLASH_OBJS = $(LIBFLASH_SRCS:%.c=%.o) SUBDIRS += libflash LIBFLASH = libflash/built-in.o $(LIBFLASH): $(LIBFLASH_OBJS:%=libflash/%)