diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 17 |
1 files changed, 17 insertions, 0 deletions
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) |