mirror of
https://github.com/Proxmark/proxmark3.git
synced 2024-11-11 09:59:45 +08:00
fb9acd4588
- add new target "make mfkey" to build mfkey32 and mfkey64 - include above when "make all" - fix Qt detection for Kali Linux - create and use dependency files when building client - create client/lualibs/usb_cmd.lua from include/usb_cmd.h when building client - add Windows *.exe files with "make tarbin" - For the time being don't include Makefile.common in Makefile and client/Makefile - set com3 as default flashing port for Windows (including mingw) - remove static targets snooper and cli. Remove their sources as well.
15 lines
408 B
Awk
15 lines
408 B
Awk
BEGIN {
|
|
print "--[["
|
|
print "These are Proxmark command definitions."
|
|
print "This file is automatically generated from usb_cmd.h - DON'T EDIT MANUALLY."
|
|
print "--]]"
|
|
print "local __commands = {"
|
|
}
|
|
|
|
#$1 ~ /#define/ && $2 ~ /^CMD_([[:alnum:]_])+/ { print $2, "=", $3, "," }
|
|
$1 ~ /#define/ && $2 ~ /^CMD_[A-Za-z0-9_]+/ { sub(/\r/, ""); print $2, "=", $3 "," }
|
|
|
|
END {
|
|
print "}"
|
|
print "return __commands"
|
|
}
|