fix default make target

This commit is contained in:
Steffen Jaeckel 2017-07-09 16:45:04 +02:00
parent 4d897a36a3
commit 3806629e9e

View File

@ -151,6 +151,11 @@ else
GROUP=wheel
endif
#The default rule for make builds the libtomcrypt library.
default: library
# List of objects to compile (all goes to libtomcrypt.a)
OBJECTS=src/ciphers/aes/aes.o src/ciphers/aes/aes_enc.o src/ciphers/anubis.o src/ciphers/blowfish.o \
src/ciphers/camellia.o src/ciphers/cast5.o src/ciphers/des.o src/ciphers/kasumi.o src/ciphers/khazad.o \
@ -332,10 +337,6 @@ src/hashes/sha2/sha512_224.o: src/hashes/sha2/sha512.c src/hashes/sha2/sha512_22
src/hashes/sha2/sha512_256.o: src/hashes/sha2/sha512.c src/hashes/sha2/sha512_256.c
src/hashes/sha2/sha256.o: src/hashes/sha2/sha256.c src/hashes/sha2/sha224.c
#The default rule for make builds the libtomcrypt library.
default:library
$(DOBJECTS): CFLAGS += -Itests
$(TOBJECTS): CFLAGS += -Itests