diff options
author | Vincent Sanders <vince@kyllikki.org> | 2018-07-29 10:10:51 +0100 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2018-07-29 10:10:51 +0100 |
commit | c8f5b9a37174f7184db1e3e57c0f588a59306c90 (patch) | |
tree | 4ca9164782bb94af43772943fb5d54773dbfedfe /Makefile | |
parent | 8f19e4ea8242a46db7c59ddad1edc5f6a9a5656b (diff) | |
download | librosprite-c8f5b9a37174f7184db1e3e57c0f588a59306c90.tar.gz librosprite-c8f5b9a37174f7184db1e3e57c0f588a59306c90.tar.bz2 |
fix tests
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -13,6 +13,9 @@ PREFIX ?= /opt/netsurf NSSHARED ?= $(PREFIX)/share/netsurf-buildsystem include $(NSSHARED)/makefiles/Makefile.tools +# Reevaluate when used, as BUILDDIR won't be defined yet +TESTRUNNER = test/runtest.sh $(BUILDDIR) $(EXEEXT) + # Toolchain flags WARNFLAGS := -Wall -Wextra -Wundef -Wpointer-arith -Wcast-align \ -Wwrite-strings -Wstrict-prototypes \ @@ -36,6 +39,9 @@ else CFLAGS := $(CFLAGS) -Dinline="__inline__" endif +TESTCFLAGS := -g -O2 +TESTLDFLAGS := -lm -l$(COMPONENT) $(TESTLDFLAGS) + include $(NSBUILD)/Makefile.top # Extra installation rules |