summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2009-08-01 22:54:56 (GMT)
committer John Mark Bell <jmb@netsurf-browser.org>2009-08-01 22:54:56 (GMT)
commit96960e7b154b7bc414b9ae395b50e3304a45563c (patch)
tree86856c510bd6b62a1db012fbd403157a480599d7 /Makefile
parentd694ede5239e6224f9c45b6a7e63a69c55f5fdc7 (diff)
downloadlibnsfb-96960e7b154b7bc414b9ae395b50e3304a45563c.tar.gz
libnsfb-96960e7b154b7bc414b9ae395b50e3304a45563c.tar.bz2
Ensure local include path overrides buildsystem settings.
svn path=/trunk/libnsfb/; revision=8963
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 435e126..df23598 100644
--- a/Makefile
+++ b/Makefile
@@ -15,8 +15,8 @@ WARNFLAGS := -Wall -Wextra -Wundef -Wpointer-arith -Wcast-align \
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes \
-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)
+CFLAGS := -g -std=c99 -D_BSD_SOURCE -I$(CURDIR)/include/ \
+ -I$(CURDIR)/src $(WARNFLAGS) $(CFLAGS)
# TODO: probably want to retrieve SDL from pkg-config
TESTLDFLAGS = -Wl,--whole-archive -l$(COMPONENT) -Wl,--no-whole-archive -lSDL