From 0a228128dcdbec7bc339d024d50484a885e19872 Mon Sep 17 00:00:00 2001 From: Daniel Silverstone Date: Fri, 29 Jun 2012 19:15:59 +0000 Subject: Rework the makefiles in the tools/ tree for the new NSBUILD stuff svn path=/trunk/tools/ttf2f/; revision=13998 --- Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 728e5fb..dd8431e 100644 --- a/Makefile +++ b/Makefile @@ -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 -- cgit v1.2.3