summaryrefslogtreecommitdiff
path: root/code/ecp/crypto/test
diff options
context:
space:
mode:
Diffstat (limited to 'code/ecp/crypto/test')
-rw-r--r--code/ecp/crypto/test/Makefile17
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: