summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2009-11-22 15:55:17 +0000
committerChris Young <chris@unsatisfactorysoftware.co.uk>2009-11-22 15:55:17 +0000
commita36a3969d04eb8021ec4b44c953888c481731047 (patch)
tree463bb2515ef24022795f2cfe902738328cba4537 /Makefile
parentedf35196f5130c6e6f8430d9af6bb52033a56b79 (diff)
downloadlibsvgtiny-a36a3969d04eb8021ec4b44c953888c481731047.tar.gz
libsvgtiny-a36a3969d04eb8021ec4b44c953888c481731047.tar.bz2
AmigaOS4 standard library headers also create warnings
svn path=/trunk/libsvgtiny/; revision=9700
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 4bbcb12..94153e4 100644
--- a/Makefile
+++ b/Makefile
@@ -13,9 +13,11 @@ TESTRUNNER := $(ECHO)
WARNFLAGS := -Wall -W -Wundef -Wpointer-arith -Wcast-align \
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes \
-Wmissing-declarations -Wnested-externs -pedantic
-# BeOS/Haiku standard library headers create warnings
+# BeOS/Haiku/AmigaOS4 standard library headers create warnings
ifneq ($(TARGET),beos)
- WARNFLAGS := $(WARNFLAGS) -Werror
+ ifneq ($(TARGET),AmigaOS)
+ WARNFLAGS := $(WARNFLAGS) -Werror
+ endif
endif
CFLAGS := -D_BSD_SOURCE -I$(CURDIR)/include/ \
-I$(CURDIR)/src $(WARNFLAGS) $(CFLAGS)