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