Added ECP files to Makefiles as well
diff --git a/library/Makefile b/library/Makefile
index 603f5d1..6852e95d 100644
--- a/library/Makefile
+++ b/library/Makefile
@@ -39,7 +39,8 @@
blowfish.o camellia.o \
certs.o cipher.o cipher_wrap.o \
ctr_drbg.o debug.o des.o \
- dhm.o entropy.o entropy_poll.o \
+ dhm.o ecp.o \
+ entropy.o entropy_poll.o \
error.o gcm.o havege.o \
md.o md_wrap.o md2.o \
md4.o md5.o net.o \
diff --git a/programs/Makefile b/programs/Makefile
index 9b0d1f5..388b029 100644
--- a/programs/Makefile
+++ b/programs/Makefile
@@ -38,6 +38,7 @@
random/gen_random_ctr_drbg \
test/ssl_cert_test test/benchmark \
test/selftest test/ssl_test \
+ test/ecp-bench \
util/strerror \
x509/cert_app x509/crl_app \
x509/cert_req
@@ -174,6 +175,10 @@
echo " CC test/benchmark.c"
$(CC) $(CFLAGS) $(OFLAGS) test/benchmark.c $(LDFLAGS) -o $@
+test/ecp-bench: test/ecp-bench.c ../library/libpolarssl.a
+ echo " CC test/ecp-bench.c"
+ $(CC) $(CFLAGS) $(OFLAGS) test/ecp-bench.c $(LDFLAGS) -o $@
+
test/selftest: test/selftest.c ../library/libpolarssl.a
echo " CC test/selftest.c"
$(CC) $(CFLAGS) $(OFLAGS) test/selftest.c $(LDFLAGS) -o $@
diff --git a/tests/Makefile b/tests/Makefile
index 4c97aa5..be5e098 100644
--- a/tests/Makefile
+++ b/tests/Makefile
@@ -30,6 +30,7 @@
test_suite_cipher.des test_suite_cipher.null \
test_suite_ctr_drbg test_suite_debug \
test_suite_des test_suite_dhm \
+ test_suite_ecp \
test_suite_error test_suite_gcm.decrypt \
test_suite_gcm.decrypt test_suite_hmac_shax \
test_suite_md test_suite_mdx \
@@ -127,6 +128,10 @@
echo " CC $@.c"
$(CC) $(CFLAGS) $(OFLAGS) $@.c $(LDFLAGS) -o $@
+test_suite_ecp: test_suite_ecp.c ../library/libpolarssl.a
+ echo " CC $@.c"
+ $(CC) $(CFLAGS) $(OFLAGS) $@.c $(LDFLAGS) -o $@
+
test_suite_error: test_suite_error.c ../library/libpolarssl.a
echo " CC $@.c"
$(CC) $(CFLAGS) $(OFLAGS) $@.c $(LDFLAGS) -o $@