mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 05:43:48 -07:00
introduce PREFIX for pm3 system directory and move to common.h
This commit is contained in:
parent
ab38130c3e
commit
595b8a1885
4 changed files with 23 additions and 19 deletions
|
@ -16,6 +16,12 @@
|
|||
#include <stddef.h>
|
||||
#include <stdbool.h>
|
||||
|
||||
#ifndef PREFIX
|
||||
# define PREFIX "/usr/local/"
|
||||
#endif
|
||||
#define PM3_SYSTEM_DIRECTORY PREFIX "share/proxmark3/"
|
||||
#define PM3_USER_DIRECTORY "/.proxmark3/"
|
||||
|
||||
#define PACKED __attribute__((packed))
|
||||
|
||||
// debug
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue