From 94f6c560eeeb61a95aa35c8cca55f11fbb7cd6db Mon Sep 17 00:00:00 2001 From: Klaus Goger Date: Fri, 29 Jul 2016 17:52:32 +0200 Subject: Added Makefile and restructured directory layout * Entering make top level should always do useful stuff * added board subdirectories to support different modules --- Makefile | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..835411d --- /dev/null +++ b/Makefile @@ -0,0 +1,17 @@ +FEX_SRC = $(shell find fex_files -name "*.fex") +FEX_BIN = $(FEX_SRC:.fex=.bin) +FEX_CC = tools/sunxi-fexc + +all: $(FEX_CC) $(FEX_BIN) + +.SUFFIXES: .fex + +$(FEX_CC): + $(MAKE) -C tools + +%.bin: %.fex + $(FEX_CC) $< $@ + +clean: + $(MAKE) -C tools clean + $(RM) $(FEX_BIN) -- cgit v1.2.3