aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile79
1 files changed, 40 insertions, 39 deletions
diff --git a/Makefile b/Makefile
index a05adac..6a88b66 100644
--- a/Makefile
+++ b/Makefile
@@ -85,41 +85,41 @@ SUBHDR =\
libhashsum/internal.h
TEST =\
- md2.t\
- md4.t\
- md5.t\
- ripemd-128.t\
- ripemd-160.t\
- ripemd-256.t\
- ripemd-320.t\
- sha0.t\
- sha1.t\
- sha_224.t\
- sha_256.t\
- sha_384.t\
- sha_512.t\
- sha_512_224.t\
- sha_512_256.t\
- keccak_224.t\
- keccak_256.t\
- keccak_384.t\
- keccak_512.t\
- keccak.t\
- sha3_224.t\
- sha3_256.t\
- sha3_384.t\
- sha3_512.t\
- shake128.t\
- shake256.t\
- shake512.t\
- rawshake128.t\
- rawshake256.t\
- rawshake512.t\
- blake224.t\
- blake256.t\
- blake384.t\
- blake512.t\
- misc-tests.t
+ t/md2.t\
+ t/md4.t\
+ t/md5.t\
+ t/ripemd-128.t\
+ t/ripemd-160.t\
+ t/ripemd-256.t\
+ t/ripemd-320.t\
+ t/sha0.t\
+ t/sha1.t\
+ t/sha_224.t\
+ t/sha_256.t\
+ t/sha_384.t\
+ t/sha_512.t\
+ t/sha_512_224.t\
+ t/sha_512_256.t\
+ t/keccak_224.t\
+ t/keccak_256.t\
+ t/keccak_384.t\
+ t/keccak_512.t\
+ t/keccak.t\
+ t/sha3_224.t\
+ t/sha3_256.t\
+ t/sha3_384.t\
+ t/sha3_512.t\
+ t/shake128.t\
+ t/shake256.t\
+ t/shake512.t\
+ t/rawshake128.t\
+ t/rawshake256.t\
+ t/rawshake512.t\
+ t/blake224.t\
+ t/blake256.t\
+ t/blake384.t\
+ t/blake512.t\
+ t/misc-tests.t
LOBJ = $(OBJ:.o=.lo)
TOBJ = $(TEST:.t=.o)
@@ -157,8 +157,8 @@ libhashsum.$(LIBEXT): $(LOBJ)
check: $(TEST)
@set -e;\
for t in $(TEST); do\
- printf '%s\n' ./$$t;\
- $(CHECK_PREFIX) ./$$t;\
+ printf '%s\n' $$t;\
+ $(CHECK_PREFIX) $$t;\
done
install: libhashsum.a libhashsum.$(LIBEXT)
@@ -188,8 +188,9 @@ uninstall:
-cd -- "$(DESTDIR)$(MANPREFIX)/man7/" && rm -f -- $(MAN7)
clean:
- -rm -f -- *.o *.a *.lo *.su *.so *.so.* *.dll *.dylib *.t
- -rm -f -- *.gch *.gcov *.gcno *.gcda *.$(LIBEXT)
+ -rm -f -- *.o *.a *.lo *.su *.t *.gch *.gcov *.gcno *.gcda
+ -rm -f -- t/*.o t/*.a t/*.lo t/*.su t/*.t t/*.gch t/*.gcov t/*.gcno t/*.gcda
+ -rm -f -- *.so *.so.* *.dll *.dylib *.$(LIBEXT)
.SUFFIXES:
.SUFFIXES: .lo .o .c .t