| David Gibson | 1cade99 | 2007-12-10 14:28:39 +1100 | [diff] [blame] | 1 | # Makefile.libfdt |
| 2 | # | ||||
| 3 | # This is not a complete Makefile of itself. Instead, it is designed to | ||||
| 4 | # be easily embeddable into other systems of Makefiles. | ||||
| 5 | # | ||||
| 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 | ||||
| 10 | |||||
| 11 | LIBFDT_OBJS = $(LIBFDT_SRCS:%.c=%.o) | ||||
| 12 | |||||
| 13 | $(LIBFDT_objdir)/$(LIBFDT_LIB): $(addprefix $(LIBFDT_objdir)/,$(LIBFDT_OBJS)) | ||||
| 14 | |||||