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