diff options
author | Marc Stevens <cr-marcstevens@users.noreply.github.com> | 2017-02-28 21:10:21 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-28 21:10:21 +0300 |
commit | 2ce7a93ba34fe567dcc2e6873ddf80cac0a17be7 (patch) | |
tree | 71caaad8f4c00c40529017afbb4639804519528f | |
parent | 247413a023b69b782198ce21d9eaf2932c274ccd (diff) | |
parent | d36711cf9f7f88e050a4b01afd809f2bc031efec (diff) |
Merge pull request #14 from muellermartin/fix-make-clean
Fix/improve creation and removing of bin folder
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |