diff options
author | Mattias Andrée <maandree@operamail.com> | 2013-08-10 04:16:04 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2013-08-10 04:16:04 +0200 |
commit | 81e5ec7e4de4fc420f24f281b16dd7bbe7de1f2b (patch) | |
tree | 2b92a34197f22f49d4c9f2f024e2a3bf4319a64a /Makefile | |
parent | typo (diff) | |
download | sha3sum-81e5ec7e4de4fc420f24f281b16dd7bbe7de1f2b.tar.gz sha3sum-81e5ec7e4de4fc420f24f281b16dd7bbe7de1f2b.tar.bz2 sha3sum-81e5ec7e4de4fc420f24f281b16dd7bbe7de1f2b.tar.xz |
directory renaming
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 20 |
1 files changed, 10 insertions, 10 deletions
@@ -10,7 +10,7 @@ LIB_EXT=so JAVAC=javac -JAVADIRS=-s "pure-java" -d "bin/pure-java" -cp "pure-java" +JAVADIRS=-s "java" -d "bin/java" -cp "java" JAVAFLAGS=-Xlint -O JAVA_FLAGS=$(JAVADIRS) $(JAVAFLAGS) @@ -27,19 +27,19 @@ JNI_JAVAFLAGS=-Xlint -O JNI_JAVA_FLAGS=$(JNI_JAVADIRS) $(JNI_JAVAFLAGS) -JAVA_CLASSES = $(shell find "pure-java" | grep '\.java$$' | sed -e 's_^_bin/_g' -e 's_java$$_class_g') +JAVA_CLASSES = $(shell find "java" | grep '\.java$$' | sed -e 's_^_bin/_g' -e 's_java$$_class_g') C_OBJS = $(shell find "c" | grep '\.h$$' | sed -e 's_^_bin/_g' -e 's_h$$_o_g') C_BINS = bin/c/sha3sum JNI_CLASSES = $(shell find "java-c-jni" | grep '\.java$$' | sed -e 's_^_bin/_g' -e 's_java$$_class_g') -all: pure-java c java-c-jni +all: java c java-c-jni -pure-java: $(JAVA_CLASSES) -bin/pure-java/%.class: pure-java/%.java - mkdir -p "bin/pure-java" - $(JAVAC) $(JAVA_FLAGS) "pure-java/$*.java" +java: $(JAVA_CLASSES) +bin/java/%.class: java/%.java + mkdir -p "bin/java" + $(JAVAC) $(JAVA_FLAGS) "java/$*.java" c: $(C_OBJS) $(C_BINS) @@ -63,7 +63,7 @@ bin/java-c-jni/%.class: java-c-jni/%.java .PHONY: clean clean: - rm {*/,}*.{t2d,aux,cp,cps,fn,ky,log,pg,pgs,toc,tp,vr,vrs,op,ops} 2>/dev/null || exit 0 - rm {*/,}*.{bak,info,pdf,ps,dvi,gz,class,jar,pyc,o,so,out} 2>/dev/null || exit 0 - rm -r bin 2>/dev/null || exit 0 + -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 -r bin 2>/dev/null |