Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/cr-marcstevens/sha1collisiondetection.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Stevens <cr-marcstevens@users.noreply.github.com>2017-02-28 21:10:21 +0300
committerGitHub <noreply@github.com>2017-02-28 21:10:21 +0300
commit2ce7a93ba34fe567dcc2e6873ddf80cac0a17be7 (patch)
tree71caaad8f4c00c40529017afbb4639804519528f
parent247413a023b69b782198ce21d9eaf2932c274ccd (diff)
parentd36711cf9f7f88e050a4b01afd809f2bc031efec (diff)
Merge pull request #14 from muellermartin/fix-make-clean
Fix/improve creation and removing of bin folder
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index b6d7479..ebe451a 100644
--- a/Makefile
+++ b/Makefile
@@ -126,7 +126,7 @@ clean::
-find . -type f -name '*.lo' -print -delete
-find . -type f -name '*.so' -print -delete
-find . -type d -name '.libs' -print | xargs rm -rv
- -rm -rf bin/*
+ -rm -rf bin
.PHONY: test
test: tools
@@ -147,7 +147,7 @@ sha1dcsum_partialcoll: bin/sha1dcsum
library: bin/libdetectcoll.la
bin/libdetectcoll.la: $(FS_OBJ_LIB)
- ${LD} ${CFLAGS} $(FS_OBJ_LIB) -o bin/libdetectcoll.la
+ ${MKDIR} $(shell dirname $@) && ${LD} ${CFLAGS} $(FS_OBJ_LIB) -o bin/libdetectcoll.la
bin/sha1dcsum: $(FS_OBJ_SRC) library
${LD} ${CFLAGS} $(FS_OBJ_SRC) $(FS_OBJ_LIB) -Lbin -ldetectcoll -o bin/sha1dcsum