mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-14 18:48:13 -07:00
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:
parent
3839ce006d
commit
28f1f23d48
4 changed files with 10 additions and 3 deletions
|
@ -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))) \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue