We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 81cde89 commit 266f623Copy full SHA for 266f623
Makefile.in
@@ -30,6 +30,10 @@ INSTALL=@INSTALL@
30
MAIN=0verkill @X0VERKILL@
31
HELPER=server @XEDITOR@ editor test_server avi bot @XAVI@
32
33
+ifdef DATA_PATH
34
+ CFLAGS+=-DDATA_PATH="\"$(DATA_PATH)"\"
35
+endif
36
+
37
all: $(HELPER) $(MAIN)
38
39
install: all
cfg.h
@@ -153,7 +153,9 @@ extern int tri_d;
153
#define BASE_DIR "."
154
#define DATA_PATH "data\\"
155
#else
156
+ #ifndef DATA_PATH
157
#define DATA_PATH "data/"
158
+ #endif
159
160
#define long_long long long
161
#ifdef CLIENT
0 commit comments