summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDaniel Silverstone <dsilvers@netsurf-browser.org>2009-02-20 10:10:32 +0000
committerDaniel Silverstone <dsilvers@netsurf-browser.org>2009-02-20 10:10:32 +0000
commitc1235f1e9e5fc5ffdfaaec0111b29c75e7a5a10e (patch)
treeea6a3be9a52ac335b7a45ae721f58cb9ee3f2344 /Makefile
parent0cecbe3cbcef566fb679aed5f0055397cb4c040c (diff)
downloadnetsurf-c1235f1e9e5fc5ffdfaaec0111b29c75e7a5a10e.tar.gz
netsurf-c1235f1e9e5fc5ffdfaaec0111b29c75e7a5a10e.tar.bz2
Ensure that the FB frontend sets a subtarget, otherwise error out. This prevents silly mistakes like 'NETSURF_FB_FRONTEND := SDL' which had me stumped for a few minutes.
svn path=/trunk/netsurf/; revision=6571
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index f0b926b87..15f3e11cb 100644
--- a/Makefile
+++ b/Makefile
@@ -608,6 +608,11 @@ ifeq ($(TARGET),framebuffer)
LDFLAGS += $(shell $(PKG_CONFIG) --libs libxml-2.0 libcurl openssl)
SUBTARGET := -vnc
endif
+
+ ifeq ($(SUBTARGET),)
+ $(error Unable to proceed, no FB subtarget chosen.)
+ endif
+
endif
# ----------------------------------------------------------------------------