mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 13:53:55 -07:00
rework PREFIX for future make install
This commit is contained in:
parent
4b2b103e80
commit
c709ee7c10
4 changed files with 17 additions and 18 deletions
|
@ -16,10 +16,14 @@
|
|||
#include <stddef.h>
|
||||
#include <stdbool.h>
|
||||
|
||||
#ifndef PREFIX
|
||||
# define PREFIX "/usr/local/"
|
||||
// brew prefixes are a bit weird so we've to split bin & share to be prepared:
|
||||
#ifndef PM3_BIN_PATH
|
||||
# define PM3_BIN_PATH "/usr/local/bin/"
|
||||
#endif
|
||||
#define PM3_SYSTEM_DIRECTORY PREFIX "share/proxmark3/"
|
||||
#ifndef PM3_SHARE_PATH
|
||||
# define PM3_SHARE_PATH "/usr/local/share/proxmark3/"
|
||||
#endif
|
||||
// PM3_USER_DIRECTORY will be expanded as if with a "~" upfront, e.g. ~/.proxmark3/
|
||||
#define PM3_USER_DIRECTORY "/.proxmark3/"
|
||||
|
||||
#define PACKED __attribute__((packed))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue