depend.mk: Add target show-vars

Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
Jan Lindemann 2017-11-24 15:27:56 +00:00
commit 915e150f04

View file

@ -35,5 +35,10 @@ endif
.%.o.dep.mk: %.c $(BUILD_HDR) .%.o.dep.mk: %.c $(BUILD_HDR)
$(CC) -M $(BUILD_CFLAGS) $(DEPEND_CPPFLAGS) $< -o $@ $(CC) -M $(BUILD_CFLAGS) $(DEPEND_CPPFLAGS) $< -o $@
show-vars: show-vars-depend-mk
show-vars-depend-mk:
@echo DEPEND_MK = $(DEPEND_MK)
@echo BUILD_HDR = $(BUILD_HDR)
endif # DEPEND_MK_INCLUDED endif # DEPEND_MK_INCLUDED
DEPEND_MK_INCLUDED := true DEPEND_MK_INCLUDED := true