svn path=/trunk/libsvgtiny/; revision=12908
WARNFLAGS := -Wall -W -Wundef -Wpointer-arith -Wcast-align \
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes \
-Wmissing-declarations -Wnested-externs -pedantic
-# BeOS/Haiku/AmigaOS4 standard library headers create warnings
+# BeOS/Haiku/AmigaOS standard library headers create warnings
ifneq ($(TARGET),beos)
ifneq ($(TARGET),AmigaOS)
WARNFLAGS := $(WARNFLAGS) -Werror
endif
endif
+
CFLAGS := -D_BSD_SOURCE -I$(CURDIR)/include/ \
-I$(CURDIR)/src $(WARNFLAGS) $(CFLAGS)
ifneq ($(GCCVER),2)