renamed bench.c into xxhsum.c

This commit is contained in:
Yann Collet 2014-10-18 11:46:37 +01:00
parent d54caef131
commit 9e10157ef3
2 changed files with 7 additions and 7 deletions

View File

@ -38,24 +38,24 @@ default: xxhsum
all: xxhsum xxhsum32
xxhsum: xxhash.c bench.c
xxhsum: xxhash.c xxhsum.c
$(CC) $(CFLAGS) $^ -o $@$(EXT)
ln -sf $@ xxh32sum
ln -sf $@ xxh64sum
xxhsum32: xxhash.c bench.c
xxhsum32: xxhash.c xxhsum.c
$(CC) -m32 $(CFLAGS) $^ -o $@$(EXT)
test: $(TEST_TARGETS)
test: xxhsum
./xxhsum -b bench.c
valgrind ./xxhsum -bi1 bench.c
valgrind ./xxhsum -H0 bench.c
valgrind ./xxhsum -H1 bench.c
./xxhsum -b xxhash.c
valgrind ./xxhsum -bi1 xxhash.c
valgrind ./xxhsum -H0 xxhash.c
valgrind ./xxhsum -H1 xxhash.c
test-all: test xxhsum32
./xxhsum32 -b bench.c
./xxhsum32 -b xxhash.c
clean:
@rm -f core *.o xxhsum$(EXT) xxhsum32$(EXT) xxh32sum xxh64sum

View File