summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDaniel Silverstone <dsilvers@netsurf-browser.org>2012-06-29 19:15:59 +0000
committerDaniel Silverstone <dsilvers@netsurf-browser.org>2012-06-29 19:15:59 +0000
commit900de0862d41a793677670222a73d0ba49928f83 (patch)
treea631e9f5ed44c7b5082e130bba479f312bcee0d7 /Makefile
parent328d9947c6c542e16573b810295f1f504a63a2ea (diff)
downloadalphagen-900de0862d41a793677670222a73d0ba49928f83.tar.gz
alphagen-900de0862d41a793677670222a73d0ba49928f83.tar.bz2
Rework the makefiles in the tools/ tree for the new NSBUILD stuff
svn path=/trunk/tools/alphagen/; revision=13998
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 91a8024..d0ea5d5 100644
--- a/Makefile
+++ b/Makefile
@@ -9,7 +9,9 @@ COMPONENT_TYPE := binary
COMPONENT_VERSION := 1.0.0
# 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 -W -Wundef -Wpointer-arith -Wcast-align \
@@ -23,6 +25,6 @@ ifneq ($(findstring clean,$(MAKECMDGOALS)),clean)
endif
# Grab the core makefile
-include build/makefiles/Makefile.top
+include $(NSBUILD)/Makefile.top
# Extra installation rules