From 1b38368d05c8777e25e1a26a5fbda67538db2ee8 Mon Sep 17 00:00:00 2001 From: Yanyan Jiang Date: Wed, 6 Feb 2019 15:35:20 +0800 Subject: [PATCH] makefile: add prebuild and postbuild --- Makefile.app | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.app b/Makefile.app index ba2141a4..2b8b718a 100644 --- a/Makefile.app +++ b/Makefile.app @@ -25,7 +25,7 @@ LINK_FILES += $(addsuffix -$(ARCH).a, $(join \ )) .PHONY: app run clean -app: $(OBJS) am $(LIBS) +app: $(PREBUILD) $(OBJS) am $(LIBS) $(POSTBUILD) @bash $(AM_HOME)/am/arch/$(ARCH)/img/build $(BINARY) $(LINK_FILES) run: app @bash $(AM_HOME)/am/arch/$(ARCH)/img/run $(BINARY)