aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2013-08-10 05:26:28 +0200
committerMattias Andrée <maandree@operamail.com>2013-08-10 05:26:28 +0200
commit0dd0cc457a203eb3500e81cb8633cb698f78332c (patch)
tree762bf91a640dbf3a5091d3e77431b7537df82cb5 /Makefile
parentmisc (diff)
downloadsha3sum-0dd0cc457a203eb3500e81cb8633cb698f78332c.tar.gz
sha3sum-0dd0cc457a203eb3500e81cb8633cb698f78332c.tar.bz2
sha3sum-0dd0cc457a203eb3500e81cb8633cb698f78332c.tar.xz
m
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index b15303d..e90a573 100644
--- a/Makefile
+++ b/Makefile
@@ -7,6 +7,7 @@
#
# [GNU All Permissive License]
+# NB! Do not forget to test against -O0, -O4 to -O6 is not safe
C_OPTIMISE=-O6
JAVA_OPTIMISE=-O
@@ -17,7 +18,6 @@ JAVADIRS=-s "java" -d "bin/java" -cp "java"
JAVAFLAGS=-Xlint $(JAVA_OPTIMISE)
JAVA_FLAGS=$(JAVADIRS) $(JAVAFLAGS)
-# NB! Do not forget to test against -O0, -O4 to -O6 is not safe
CFLAGS=-W{all,extra} -pedantic $(C_OPTIMISE)
CPPFLAGS=
LDFLAGS=
@@ -71,7 +71,7 @@ bin/java-c-jni/%.so: java-c-jni/%.h java-c-jni/%.c
.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,o,so,out} 2>/dev/null
+ -rm {*/,}*.{bak,info,pdf,ps,dvi,gz,class,jar,pyc,pyo,o,so,out} 2>/dev/null
-rm java-c-jni/*.h 2>/dev/null
-rm -r bin 2>/dev/null