mirror of
https://github.com/Proxmark/proxmark3.git
synced 2025-08-14 02:26:59 -07:00
Update/cleanup Makefiles (#265)
- 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.
This commit is contained in:
parent
b642ce7ab5
commit
fb9acd4588
8 changed files with 274 additions and 322 deletions
15
client/usb_cmd_h2lua.awk
Normal file
15
client/usb_cmd_h2lua.awk
Normal file
|
@ -0,0 +1,15 @@
|
|||
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"
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue