aboutsummaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'makefile')
-rw-r--r--makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/makefile b/makefile
index 5207a11..4c3c67f 100644
--- a/makefile
+++ b/makefile
@@ -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
11LIBS = 11LIBS =
12# General compiler flags 12# General compiler flags
13COMPILE_FLAGS = -std=c++17 -Wall -Wextra -g -DLUA_COMPAT_5_2 -DLUA_COMPAT_5_1 13COMPILE_FLAGS = -std=c++17 -Wall -Wextra -g
14# Additional release-specific flags 14# Additional release-specific flags
15RCOMPILE_FLAGS = -D NDEBUG -O3 15RCOMPILE_FLAGS = -D NDEBUG -O3
16# Additional debug-specific flags 16# Additional debug-specific flags
17DCOMPILE_FLAGS = -D DEBUG 17DCOMPILE_FLAGS = -D DEBUG
18# Add additional include paths 18# Add additional include paths
19INCLUDES = -I $(SRC_PATH) -I ./src/lua-5.3 19INCLUDES = -I $(SRC_PATH) -I ./src/lua
20# General linker settings 20# General linker settings
21LINK_FLAGS = -L ./src/lua-5.3 -lpthread -llua 21LINK_FLAGS = -L ./src/lua -lpthread -llua
22# Additional release-specific linker settings 22# Additional release-specific linker settings
23RLINK_FLAGS = 23RLINK_FLAGS =
24# Additional debug-specific linker settings 24# Additional debug-specific linker settings
@@ -158,7 +158,7 @@ ifeq ($(USE_VERSION), true)
158else 158else
159 @echo "Beginning release build" 159 @echo "Beginning release build"
160endif 160endif
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)
172else 172else
173 @echo "Beginning debug build" 173 @echo "Beginning debug build"
174endif 174endif
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
203clean: 203clean:
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"