aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-02-05 05:58:49 +0100
committerMattias Andrée <maandree@operamail.com>2014-02-05 05:58:49 +0100
commitd63a415efc2d72069fa6da83408f2713825d5406 (patch)
tree354c1df789cbe8ae1e32c53d86d7c127c459556b /Makefile
parentadd note on why versions are not being tagged (diff)
downloadsha3sum-d63a415efc2d72069fa6da83408f2713825d5406.tar.gz
sha3sum-d63a415efc2d72069fa6da83408f2713825d5406.tar.bz2
sha3sum-d63a415efc2d72069fa6da83408f2713825d5406.tar.xz
misc
Signed-off-by: Mattias Andrée <maandree@operamail.com>
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=