summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2009-04-08 10:47:56 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2009-04-08 10:47:56 +0000
commit2c6ba996e6c2afb32384344b00bb3d0a67b11fd5 (patch)
tree434b39da510b920e7b2b127293baa87c18db5eed /Makefile
parent056e1ebed94379db41ebb2e40cc88a873cfb4411 (diff)
downloadlibnsfb-2c6ba996e6c2afb32384344b00bb3d0a67b11fd5.tar.gz
libnsfb-2c6ba996e6c2afb32384344b00bb3d0a67b11fd5.tar.bz2
Integrate the testsuite.
svn path=/trunk/libnsfb/; revision=7062
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index e5695d7..05f2d28 100644
--- a/Makefile
+++ b/Makefile
@@ -7,10 +7,14 @@ COMPONENT_TYPE ?= lib-static
# Setup the tooling
include build/makefiles/Makefile.tools
+# Reevaluate when used, as BUILDDIR won't be defined yet
+TESTRUNNER = $(BUILDDIR)/test_plottest$(EXEEXT)
+
# Toolchain flags
WARNFLAGS := -Wall -Wextra -Wundef -Wpointer-arith -Wcast-align \
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes \
- -Wmissing-declarations -Wnested-externs -Werror -pedantic
+ -Wmissing-declarations -Wnested-externs -Werror -pedantic \
+ -Wno-overlength-strings # For nsglobe.c
CFLAGS := -g $(CFLAGS) -std=c99 -D_BSD_SOURCE -I$(CURDIR)/include/ \
-I$(CURDIR)/src $(WARNFLAGS)