aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-11-11 18:00:52 +0100
committerMattias Andrée <maandree@operamail.com>2014-11-11 18:00:52 +0100
commite2b07d3ffbc79efa1351712e0e4b34ac2a6a4c5b (patch)
treedb87d7227bd675f120563c15e4bed6eae88dbc5f /Makefile
parentwhoops, error in non-python version when hashing with a wordsize below 64 bits (diff)
downloadsha3sum-e2b07d3ffbc79efa1351712e0e4b34ac2a6a4c5b.tar.gz
sha3sum-e2b07d3ffbc79efa1351712e0e4b34ac2a6a4c5b.tar.bz2
sha3sum-e2b07d3ffbc79efa1351712e0e4b34ac2a6a4c5b.tar.xz
m + fix for issue #14
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r--Makefile12
1 files changed, 5 insertions, 7 deletions
diff --git a/Makefile b/Makefile
index 127d439..9be3ffa 100644
--- a/Makefile
+++ b/Makefile
@@ -7,7 +7,7 @@
#
# [GNU All Permissive License]
-# NB! Do not forget to test against -O0, -O4 to -O6 and -Ofast is not safe
+# NB! Do not forget to test against -O0, -O4 to -O6 (ignored in GCC) and -Ofast is not safe
C_OPTIMISE=-Ofast
JAVA_OPTIMISE=-O
@@ -21,7 +21,7 @@ JAVAFLAGS=-Xlint $(JAVA_OPTIMISE)
JAVA_FLAGS=$(JAVADIRS) $(JAVAFLAGS)
WITH_WIPE=yes
-CFLAGS=-W{all,extra} -pedantic $(C_OPTIMISE) -fPIC
+CFLAGS=-Wall -Wextra -pedantic $(C_OPTIMISE) -fPIC
ifeq ($(WITH_C99),yes)
CFLAGS+=-std=c99 -DWITH_C99
endif
@@ -31,7 +31,7 @@ endif
ifeq ($(WITH_WIPE),yes)
CFLAGS+=-DWITH_WIPE
endif
-SOFLAGS=-W{all,extra} -pedantic $(C_OPTIMISE) -shared
+SOFLAGS=-Wall -Wextra -pedantic $(C_OPTIMISE) -shared
CPPFLAGS=
LDFLAGS=
C_FLAGS=$(CFLAGS) $(CPPFLAGS) $(LDFLAGS)
@@ -99,8 +99,6 @@ bin/java-c-jni/sha3.jar: bin/java-c-jni/SHA3.class
.PHONY: clean
clean:
- -rm {*/,}*.{t2d,aux,cp,cps,fn,ky,log,pg,pgs,toc,tp,vr,vrs,op,ops} 2>/dev/null
- -rm {*/,}*.{bak,info,pdf,ps,dvi,gz,class,jar,pyc,pyo,o,so,out,gch} 2>/dev/null
- -rm java-c-jni/*.h 2>/dev/null
- -rm -r bin 2>/dev/null
+ -rm java-c-jni/*.h
+ -rm -r bin obj