aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 41fca96..224c22d 100644
--- a/Makefile
+++ b/Makefile
@@ -21,6 +21,9 @@ JAVAFLAGS=-Xlint $(JAVA_OPTIMISE)
JAVA_FLAGS=$(JAVADIRS) $(JAVAFLAGS)
CFLAGS=-W{all,extra} -pedantic $(C_OPTIMISE) -fPIC
+ifeq ($(WITH_C99),yes)
+ CFLAGS+=-std=c99 -DWITH_C99
+endif
SOFLAGS=-W{all,extra} -pedantic $(C_OPTIMISE) -shared
CPPFLAGS=
LDFLAGS=