3 # This is not a complete Makefile of itself. Instead, it is designed to
4 # be easily embeddable into other systems of Makefiles.
6 LIBFDT_SRCS = fdt.c fdt_ro.c fdt_wip.c fdt_sw.c fdt_rw.c fdt_strerror.c
7 LIBFDT_INCLUDES = fdt.h libfdt.h
8 LIBFDT_EXTRA = libfdt_internal.h
9 LIBFDT_LIB = libfdt/libfdt.a
11 LIBFDT_OBJS = $(LIBFDT_SRCS:%.c=%.o)
13 $(LIBFDT_objdir)/$(LIBFDT_LIB): $(addprefix $(LIBFDT_objdir)/,$(LIBFDT_OBJS))