introduce PREFIX for pm3 system directory and move to common.h

This commit is contained in:
Philippe Teuwen committed 2019-08-22 19:36:20 +02:00
1 parent ab38130c3e
commit 595b8a1885
4 files changed
+23 -19

No files matched your search

+6
View File
@@ -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