core: Add print-* target to rules.mk
This commit is contained in:
parent
74cae0c6c7
commit
d5f61007bc
1 changed files with 6 additions and 0 deletions
|
|
@ -632,3 +632,9 @@ $(shell mkdir $(OBJDIR) 2>/dev/null)
|
||||||
build elf hex eep lss sym coff extcoff \
|
build elf hex eep lss sym coff extcoff \
|
||||||
clean clean_list debug gdb-config show_path \
|
clean clean_list debug gdb-config show_path \
|
||||||
program teensy dfu flip dfu-ee flip-ee dfu-start
|
program teensy dfu flip dfu-ee flip-ee dfu-start
|
||||||
|
|
||||||
|
|
||||||
|
# Print out the value of a make variable.
|
||||||
|
# https://stackoverflow.com/questions/16467718/how-to-print-out-a-variable-in-makefile
|
||||||
|
print-%:
|
||||||
|
@echo $* = $($*)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue