From c4ddf4e36b8f9ae821be0339f70299d5b2fa196c Mon Sep 17 00:00:00 2001 From: Nguyen Anh Quynh Date: Sat, 19 Nov 2016 17:29:51 +0800 Subject: [PATCH] fix samples/Makefile --- samples/Makefile | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/samples/Makefile b/samples/Makefile index 1ad37aa1..c44dc127 100644 --- a/samples/Makefile +++ b/samples/Makefile @@ -128,3 +128,11 @@ endef staticname = $(subst $(BIN_EXT),,$(1)).static$(BIN_EXT) + +define log + @printf " %-7s %s\n" "$(1)" "$(2)" +endef + +define compile + ${CC} ${CFLAGS} -c $< -o $@ +endef