introduce PREFIX for pm3 system directory and move to common.h
This commit is contained in:
1 parent
ab38130c3e
commit
595b8a1885
4 files changed
+23
-19
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user