diff options
Diffstat (limited to 'include/path.h')
| -rw-r--r-- | include/path.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/include/path.h b/include/path.h index ab1ae61..a51baa0 100644 --- a/include/path.h +++ b/include/path.h @@ -3,8 +3,23 @@ #define PATH_H +#include "main.h" + +#ifdef DISTDIR + #define PATH_DIR "share/tuxanci-ng/" +#endif + +#ifndef DISTDIR + +#define PATH_DIR "./" + +#undef DISTDIR +#define DISTDIR "" + +#endif + #define PATH_IMAGE DISTDIR PATH_DIR "image/" #define PATH_FONT DISTDIR PATH_DIR "font/" #define PATH_ARENA DISTDIR PATH_DIR "arena/" |