3 $(call quiet-command
,$(CC
) $(CPPFLAGS
) $(CFLAGS
) -c
-o
$@
$<," CC $(TARGET_DIR)$@")
6 $(call quiet-command
,$(CC
) $(CPPFLAGS
) -c
-o
$@
$<," AS $(TARGET_DIR)$@")
9 $(call quiet-command
,$(CC
) $(CFLAGS
) $(CPPFLAGS
) -c
-o
$@
$<," OBJC $(TARGET_DIR)$@")
11 WAS
=-Wl
,--whole-archive
12 WAE
=-Wl
,--no-whole-archive
14 LINK
= $(call quiet-command
,$(CC
) $(LDFLAGS
) -o
$@
$(1) $(LIBS
) $(WAS
) $(ARLIBS
) $(WAE
)," LINK $(TARGET_DIR)$@")
20 $(call quiet-command
,rm -f
$@
&& $(AR
) rcs
$@
$^
," AR $(TARGET_DIR)$@")
22 quiet-command
= $(if
$(V
),$1,$(if
$(2),@echo
$2 && $1, @
$1))