diff options
author | Daniel Silverstone <dsilvers@netsurf-browser.org> | 2009-02-20 10:10:32 +0000 |
---|---|---|
committer | Daniel Silverstone <dsilvers@netsurf-browser.org> | 2009-02-20 10:10:32 +0000 |
commit | c1235f1e9e5fc5ffdfaaec0111b29c75e7a5a10e (patch) | |
tree | ea6a3be9a52ac335b7a45ae721f58cb9ee3f2344 /Makefile | |
parent | 0cecbe3cbcef566fb679aed5f0055397cb4c040c (diff) | |
download | netsurf-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-- | Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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 # ---------------------------------------------------------------------------- |