diff options
Diffstat (limited to 'makefile')
-rw-r--r-- | makefile | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -10,15 +10,15 @@ SRC_PATH = ./src | |||
10 | # Space-separated pkg-config libraries used by this project | 10 | # Space-separated pkg-config libraries used by this project |
11 | LIBS = | 11 | LIBS = |
12 | # General compiler flags | 12 | # General compiler flags |
13 | COMPILE_FLAGS = -std=c++17 -Wall -Wextra -g -DLUA_COMPAT_5_2 -DLUA_COMPAT_5_1 | 13 | COMPILE_FLAGS = -std=c++17 -Wall -Wextra -g |
14 | # Additional release-specific flags | 14 | # Additional release-specific flags |
15 | RCOMPILE_FLAGS = -D NDEBUG -O3 | 15 | RCOMPILE_FLAGS = -D NDEBUG -O3 |
16 | # Additional debug-specific flags | 16 | # Additional debug-specific flags |
17 | DCOMPILE_FLAGS = -D DEBUG | 17 | DCOMPILE_FLAGS = -D DEBUG |
18 | # Add additional include paths | 18 | # Add additional include paths |
19 | INCLUDES = -I $(SRC_PATH) -I ./src/lua-5.3 | 19 | INCLUDES = -I $(SRC_PATH) -I ./src/lua |
20 | # General linker settings | 20 | # General linker settings |
21 | LINK_FLAGS = -L ./src/lua-5.3 -lpthread -llua | 21 | LINK_FLAGS = -L ./src/lua -lpthread -llua |
22 | # Additional release-specific linker settings | 22 | # Additional release-specific linker settings |
23 | RLINK_FLAGS = | 23 | RLINK_FLAGS = |
24 | # Additional debug-specific linker settings | 24 | # Additional debug-specific linker settings |
@@ -158,7 +158,7 @@ ifeq ($(USE_VERSION), true) | |||
158 | else | 158 | else |
159 | @echo "Beginning release build" | 159 | @echo "Beginning release build" |
160 | endif | 160 | endif |
161 | @$(MAKE) -C ./src/lua-5.3 | 161 | @$(MAKE) -C ./src/lua |
162 | @$(START_TIME) | 162 | @$(START_TIME) |
163 | @$(MAKE) all --no-print-directory | 163 | @$(MAKE) all --no-print-directory |
164 | @echo -n "Total build time: " | 164 | @echo -n "Total build time: " |
@@ -172,7 +172,7 @@ ifeq ($(USE_VERSION), true) | |||
172 | else | 172 | else |
173 | @echo "Beginning debug build" | 173 | @echo "Beginning debug build" |
174 | endif | 174 | endif |
175 | @$(MAKE) -C ./src/lua-5.3 | 175 | @$(MAKE) -C ./src/lua |
176 | @$(START_TIME) | 176 | @$(START_TIME) |
177 | @$(MAKE) all --no-print-directory | 177 | @$(MAKE) all --no-print-directory |
178 | @echo -n "Total build time: " | 178 | @echo -n "Total build time: " |
@@ -201,7 +201,7 @@ uninstall: | |||
201 | # Removes all build files | 201 | # Removes all build files |
202 | .PHONY: clean | 202 | .PHONY: clean |
203 | clean: | 203 | clean: |
204 | @$(MAKE) clean -C ./src/lua-5.3 | 204 | @$(MAKE) clean -C ./src/lua |
205 | @echo "Deleting $(BIN_NAME) symlink" | 205 | @echo "Deleting $(BIN_NAME) symlink" |
206 | @$(RM) $(BIN_NAME) | 206 | @$(RM) $(BIN_NAME) |
207 | @echo "Deleting directories" | 207 | @echo "Deleting directories" |