diff options
-rw-r--r-- | Makefile | 6 | ||||
-rw-r--r-- | src/Makefile | 2 |
2 files changed, 5 insertions, 3 deletions
@@ -8,7 +8,9 @@ COMPONENT_TYPE := binary FRONTEND ?= cli # Setup the tooling -include build/makefiles/Makefile.tools +PREFIX ?= /opt/netsurf +NSSHARED ?= $(PREFIX)/share/netsurf-buildsystem +include $(NSSHARED)/makefiles/Makefile.tools # Toolchain flags WARNFLAGS := -Wall -Wextra -Wundef -Wpointer-arith -Wcast-align \ @@ -41,7 +43,7 @@ ifneq ($(findstring clean,$(MAKECMDGOALS)),clean) endif endif -include build/makefiles/Makefile.top +include $(NSBUILD)/Makefile.top # Extra installation rules diff --git a/src/Makefile b/src/Makefile index d331193..251a32c 100644 --- a/src/Makefile +++ b/src/Makefile @@ -9,4 +9,4 @@ else endif endif -include build/makefiles/Makefile.subdir +include $(NSBUILD)/Makefile.subdir |