diff options
author | Uros Majstorovic <majstor@majstor.org> | 2018-01-17 18:42:47 +0100 |
---|---|---|
committer | Uros Majstorovic <majstor@majstor.org> | 2018-01-17 18:42:47 +0100 |
commit | 1425f72c38fe23a9d3fcda583a7da1e7315acfc3 (patch) | |
tree | 2731c1f5b9e0c76e0a0775f6eddf81fd90b0817d /code/ecp/crypto/test | |
parent | 97a7e6617f8ad06b7bff495603200b853766ecc8 (diff) |
build system improved
Diffstat (limited to 'code/ecp/crypto/test')
-rw-r--r-- | code/ecp/crypto/test/Makefile | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/code/ecp/crypto/test/Makefile b/code/ecp/crypto/test/Makefile index 8ea463d..ae19e4b 100644 --- a/code/ecp/crypto/test/Makefile +++ b/code/ecp/crypto/test/Makefile @@ -2,10 +2,7 @@ include ../../Makefile.platform CFLAGS=$(CFLAGS_PL) -I.. -I../include LDFLAGS=$(LDFLAGS_PL) -aead_dep=../compat/explicit_bzero.o ../compat/timingsafe_memcmp.o ../compat/timingsafe_bcmp.o \ - ../chacha/chacha.o ../poly1305/poly1305.o ../curve25519/curve25519.o ../curve25519/curve25519-generic.o \ - ../sha/sha512.o ../e_chacha20poly1305.o -dsa_dep=../*/*.a +dep=../e_chacha20poly1305.o ../curve25519/*.o ../chacha/*.o ../poly1305/*.o ../sha/*.o ../compat/*.o %.o: %.c @@ -14,22 +11,22 @@ dsa_dep=../*/*.a all: aead aead_enc aead_dec ed25519 ed25519_sign ed25519_open aead: aead.o - $(CC) $(LDFLAGS) -o $@ $< $(aead_dep) + $(CC) $(LDFLAGS) -o $@ $< $(dep) aead_enc: aead_enc.o - $(CC) $(LDFLAGS) -o $@ $< $(aead_dep) + $(CC) $(LDFLAGS) -o $@ $< $(dep) aead_dec: aead_dec.o - $(CC) $(LDFLAGS) -o $@ $< $(aead_dep) + $(CC) $(LDFLAGS) -o $@ $< $(dep) ed25519: ed25519.o - $(CC) $(LDFLAGS) -o $@ $< $(dsa_dep) + $(CC) $(LDFLAGS) -o $@ $< $(dep) ed25519_sign: ed25519_sign.o - $(CC) $(LDFLAGS) -o $@ $< $(dsa_dep) + $(CC) $(LDFLAGS) -o $@ $< $(dep) ed25519_open: ed25519_open.o - $(CC) $(LDFLAGS) -o $@ $< $(dsa_dep) + $(CC) $(LDFLAGS) -o $@ $< $(dep) clean: |