chg: easy printing of MAKE variables
Usage:: make print-FLASHTOOL cd bootrom; make print-APP_CFLAGS cd client; make print-GCC_VERSION
This commit is contained in:
1 parent
3839ce006d
commit
28f1f23d48
4 files changed
+10
-3
No files matched your search
@@ -109,6 +109,9 @@ $(OBJDIR)/%.s19: $(OBJDIR)/%.elf
|
||||
version.c: default_version.c
|
||||
perl ../tools/mkversion.pl .. > $@ || $(COPY) $^ $@
|
||||
|
||||
# easy printing of MAKE VARIABLES
|
||||
print-%: ; @echo $* = $($*)
|
||||
|
||||
# Automatic dependency generation
|
||||
DEPENDENCY_FILES = $(patsubst %.c,$(OBJDIR)/%.d,$(notdir $(THUMBSRC))) \
|
||||
$(patsubst %.c,$(OBJDIR)/%.d,$(notdir $(ARMSRC))) \
|
||||
|
||||
Reference in new issue
Block a user