2009-01-03 22:22:43 +01:00
|
|
|
|
|
|
|
# To compile on SunOS: add "-lsocket -lnsl" to LDFLAGS
|
2012-05-10 23:26:28 +02:00
|
|
|
# To compile on MinGW: add "-lws2_32" to LDFLAGS or define WINDOWS in your env
|
2011-01-18 16:27:19 +01:00
|
|
|
# To compile with PKCS11: add "-lpkcs11-helper" to LDFLAGS
|
2009-01-03 22:22:43 +01:00
|
|
|
|
2011-01-30 18:10:13 +01:00
|
|
|
CFLAGS += -I../include -D_FILE_OFFSET_BITS=64 -Wall -W -Wdeclaration-after-statement
|
2012-10-23 14:12:53 +02:00
|
|
|
OFLAGS = -O2
|
2015-02-14 00:04:58 +01:00
|
|
|
LDFLAGS += -L../library -lmbedtls$(SHARED_SUFFIX) $(SYS_LDFLAGS)
|
2009-01-03 22:22:43 +01:00
|
|
|
|
2012-04-05 14:08:29 +02:00
|
|
|
ifdef DEBUG
|
|
|
|
CFLAGS += -g3
|
|
|
|
endif
|
|
|
|
|
2015-02-14 00:04:58 +01:00
|
|
|
#
|
|
|
|
# if we running on Windows build
|
|
|
|
# for Windows
|
|
|
|
#
|
2012-05-10 22:49:10 +02:00
|
|
|
ifdef WINDOWS
|
2015-02-14 00:04:58 +01:00
|
|
|
WINDOWS_BUILD=1
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifdef WINDOWS_BUILD
|
|
|
|
DLEXT=dll
|
|
|
|
EXEXT=.exe
|
2012-05-10 22:49:10 +02:00
|
|
|
LDFLAGS += -lws2_32
|
2015-02-14 00:04:58 +01:00
|
|
|
ifdef SHARED
|
|
|
|
SHARED_SUFFIX=.$(DLEXT)
|
|
|
|
endif
|
2012-05-10 22:49:10 +02:00
|
|
|
endif
|
|
|
|
|
2012-07-03 15:30:23 +02:00
|
|
|
# Zlib shared library extensions:
|
|
|
|
ifdef ZLIB
|
|
|
|
LDFLAGS += -lz
|
|
|
|
endif
|
|
|
|
|
2015-02-14 00:04:58 +01:00
|
|
|
APPS = aes/aescrypt2$(EXEXT) aes/crypt_and_hash$(EXEXT) \
|
|
|
|
hash/hello$(EXEXT) hash/generic_sum$(EXEXT) \
|
|
|
|
hash/md5sum$(EXEXT) hash/sha1sum$(EXEXT) \
|
|
|
|
hash/sha2sum$(EXEXT) pkey/dh_client$(EXEXT) \
|
|
|
|
pkey/dh_genprime$(EXEXT) pkey/dh_server$(EXEXT) \
|
|
|
|
pkey/gen_key$(EXEXT) \
|
|
|
|
pkey/key_app$(EXEXT) pkey/key_app_writer$(EXEXT) \
|
|
|
|
pkey/mpi_demo$(EXEXT) pkey/pk_decrypt$(EXEXT) \
|
|
|
|
pkey/pk_encrypt$(EXEXT) pkey/pk_sign$(EXEXT) \
|
|
|
|
pkey/pk_verify$(EXEXT) pkey/rsa_genkey$(EXEXT) \
|
|
|
|
pkey/rsa_decrypt$(EXEXT) pkey/rsa_encrypt$(EXEXT) \
|
|
|
|
pkey/rsa_sign$(EXEXT) pkey/rsa_verify$(EXEXT) \
|
|
|
|
pkey/rsa_sign_pss$(EXEXT) pkey/rsa_verify_pss$(EXEXT) \
|
|
|
|
ssl/ssl_client1$(EXEXT) ssl/ssl_client2$(EXEXT) \
|
|
|
|
ssl/ssl_server$(EXEXT) ssl/ssl_server2$(EXEXT) \
|
|
|
|
ssl/ssl_fork_server$(EXEXT) \
|
|
|
|
ssl/ssl_mail_client$(EXEXT) random/gen_entropy$(EXEXT) \
|
|
|
|
random/gen_random_havege$(EXEXT) \
|
|
|
|
random/gen_random_ctr_drbg$(EXEXT) \
|
|
|
|
test/ssl_cert_test$(EXEXT) test/benchmark$(EXEXT) \
|
|
|
|
test/selftest$(EXEXT) test/ssl_test$(EXEXT) \
|
|
|
|
util/pem2der$(EXEXT) util/strerror$(EXEXT) \
|
|
|
|
x509/cert_app$(EXEXT) x509/crl_app$(EXEXT) \
|
|
|
|
x509/cert_req$(EXEXT)
|
2009-01-03 22:22:43 +01:00
|
|
|
|
2012-05-19 10:43:48 +02:00
|
|
|
ifdef OPENSSL
|
|
|
|
APPS += test/o_p_test
|
|
|
|
endif
|
|
|
|
|
2013-12-19 15:40:58 +01:00
|
|
|
ifdef PTHREAD
|
|
|
|
APPS += ssl/ssl_pthread_server
|
|
|
|
endif
|
|
|
|
|
2009-01-03 22:22:43 +01:00
|
|
|
.SILENT:
|
|
|
|
|
|
|
|
all: $(APPS)
|
|
|
|
|
2015-02-14 00:04:58 +01:00
|
|
|
aes/aescrypt2$(EXEXT): aes/aescrypt2.c ../library/libmbedtls.a
|
2009-01-03 22:22:43 +01:00
|
|
|
echo " CC aes/aescrypt2.c"
|
|
|
|
$(CC) $(CFLAGS) $(OFLAGS) aes/aescrypt2.c $(LDFLAGS) -o $@
|
|
|
|
|
2015-02-14 00:04:58 +01:00
|
|
|
aes/crypt_and_hash$(EXEXT): aes/crypt_and_hash.c ../library/libmbedtls.a
|
2011-01-21 10:32:12 +01:00
|
|
|
echo " CC aes/crypt_and_hash.c"
|
|
|
|
$(CC) $(CFLAGS) $(OFLAGS) aes/crypt_and_hash.c $(LDFLAGS) -o $@
|
|
|
|
|
2015-02-14 00:04:58 +01:00
|
|
|
hash/hello$(EXEXT): hash/hello.c ../library/libmbedtls.a
|
2009-01-03 22:22:43 +01:00
|
|
|
echo " CC hash/hello.c"
|
|
|
|
$(CC) $(CFLAGS) $(OFLAGS) hash/hello.c $(LDFLAGS) -o $@
|
|
|
|
|
2015-02-14 00:04:58 +01:00
|
|
|
hash/generic_sum$(EXEXT): hash/generic_sum.c ../library/libmbedtls.a
|
2011-01-21 11:21:11 +01:00
|
|
|
echo " CC hash/generic_sum.c"
|
|
|
|
$(CC) $(CFLAGS) $(OFLAGS) hash/generic_sum.c $(LDFLAGS) -o $@
|
|
|
|
|
2015-02-14 00:04:58 +01:00
|
|
|
hash/md5sum$(EXEXT): hash/md5sum.c ../library/libmbedtls.a
|
2009-01-03 22:22:43 +01:00
|
|
|
echo " CC hash/md5sum.c"
|
|
|
|
$(CC) $(CFLAGS) $(OFLAGS) hash/md5sum.c $(LDFLAGS) -o $@
|
|
|
|
|
2015-02-14 00:04:58 +01:00
|
|
|
hash/sha1sum$(EXEXT): hash/sha1sum.c ../library/libmbedtls.a
|
2009-01-03 22:22:43 +01:00
|
|
|
echo " CC hash/sha1sum.c"
|
|
|
|
$(CC) $(CFLAGS) $(OFLAGS) hash/sha1sum.c $(LDFLAGS) -o $@
|
|
|
|
|
2015-02-14 00:04:58 +01:00
|
|
|
hash/sha2sum$(EXEXT): hash/sha2sum.c ../library/libmbedtls.a
|
2009-01-03 22:22:43 +01:00
|
|
|
echo " CC hash/sha2sum.c"
|
|
|
|
$(CC) $(CFLAGS) $(OFLAGS) hash/sha2sum.c $(LDFLAGS) -o $@
|
|
|
|
|
2015-02-14 00:04:58 +01:00
|
|
|
pkey/dh_client$(EXEXT): pkey/dh_client.c ../library/libmbedtls.a
|
2009-01-03 22:22:43 +01:00
|
|
|
echo " CC pkey/dh_client.c"
|
|
|
|
$(CC) $(CFLAGS) $(OFLAGS) pkey/dh_client.c $(LDFLAGS) -o $@
|
|
|
|
|
2015-02-14 00:04:58 +01:00
|
|
|
pkey/dh_genprime$(EXEXT): pkey/dh_genprime.c ../library/libmbedtls.a
|
2009-01-03 22:22:43 +01:00
|
|
|
echo " CC pkey/dh_genprime.c"
|
|
|
|
$(CC) $(CFLAGS) $(OFLAGS) pkey/dh_genprime.c $(LDFLAGS) -o $@
|
|
|
|
|
2015-02-14 00:04:58 +01:00
|
|
|
pkey/dh_server$(EXEXT): pkey/dh_server.c ../library/libmbedtls.a
|
2009-01-03 22:22:43 +01:00
|
|
|
echo " CC pkey/dh_server.c"
|
|
|
|
$(CC) $(CFLAGS) $(OFLAGS) pkey/dh_server.c $(LDFLAGS) -o $@
|
|
|
|
|
2015-02-14 00:04:58 +01:00
|
|
|
pkey/ecdsa$(EXEXT): pkey/ecdsa.c ../library/libmbedtls.a
|
2013-08-09 17:10:27 +02:00
|
|
|
echo " CC pkey/ecdsa.c"
|
|
|
|
$(CC) $(CFLAGS) $(OFLAGS) pkey/ecdsa.c $(LDFLAGS) -o $@
|
|
|
|
|
2015-02-14 00:04:58 +01:00
|
|
|
pkey/gen_key$(EXEXT): pkey/gen_key.c ../library/libmbedtls.a
|
2013-09-23 12:05:44 +02:00
|
|
|
echo " CC pkey/gen_key.c"
|
|
|
|
$(CC) $(CFLAGS) $(OFLAGS) pkey/gen_key.c $(LDFLAGS) -o $@
|
|
|
|
|
2015-02-14 00:04:58 +01:00
|
|
|
pkey/key_app$(EXEXT): pkey/key_app.c ../library/libmbedtls.a
|
2011-07-13 13:26:43 +02:00
|
|
|
echo " CC pkey/key_app.c"
|
|
|
|
$(CC) $(CFLAGS) $(OFLAGS) pkey/key_app.c $(LDFLAGS) -o $@
|
|
|
|
|
2015-02-14 00:04:58 +01:00
|
|
|
pkey/key_app_writer$(EXEXT): pkey/key_app_writer.c ../library/libmbedtls.a
|
2012-02-14 00:11:30 +01:00
|
|
|
echo " CC pkey/key_app_writer.c"
|
|
|
|
$(CC) $(CFLAGS) $(OFLAGS) pkey/key_app_writer.c $(LDFLAGS) -o $@
|
|
|
|
|
2015-02-14 00:04:58 +01:00
|
|
|
pkey/mpi_demo$(EXEXT): pkey/mpi_demo.c ../library/libmbedtls.a
|
2009-01-03 22:22:43 +01:00
|
|
|
echo " CC pkey/mpi_demo.c"
|
|
|
|
$(CC) $(CFLAGS) $(OFLAGS) pkey/mpi_demo.c $(LDFLAGS) -o $@
|
|
|
|
|
2015-02-14 00:04:58 +01:00
|
|
|
pkey/pk_decrypt$(EXEXT): pkey/pk_decrypt.c ../library/libmbedtls.a
|
2013-09-18 15:34:57 +02:00
|
|
|
echo " CC pkey/pk_decrypt.c"
|
|
|
|
$(CC) $(CFLAGS) $(OFLAGS) pkey/pk_decrypt.c $(LDFLAGS) -o $@
|
|
|
|
|
2015-02-14 00:04:58 +01:00
|
|
|
pkey/pk_encrypt$(EXEXT): pkey/pk_encrypt.c ../library/libmbedtls.a
|
2013-09-18 15:34:57 +02:00
|
|
|
echo " CC pkey/pk_encrypt.c"
|
|
|
|
$(CC) $(CFLAGS) $(OFLAGS) pkey/pk_encrypt.c $(LDFLAGS) -o $@
|
|
|
|
|
2015-02-14 00:04:58 +01:00
|
|
|
pkey/pk_sign$(EXEXT): pkey/pk_sign.c ../library/libmbedtls.a
|
2013-09-18 15:34:57 +02:00
|
|
|
echo " CC pkey/pk_sign.c"
|
|
|
|
$(CC) $(CFLAGS) $(OFLAGS) pkey/pk_sign.c $(LDFLAGS) -o $@
|
|
|
|
|
2015-02-14 00:04:58 +01:00
|
|
|
pkey/pk_verify$(EXEXT): pkey/pk_verify.c ../library/libmbedtls.a
|
2013-09-18 15:34:57 +02:00
|
|
|
echo " CC pkey/pk_verify.c"
|
|
|
|
$(CC) $(CFLAGS) $(OFLAGS) pkey/pk_verify.c $(LDFLAGS) -o $@
|
|
|
|
|
2015-02-14 00:04:58 +01:00
|
|
|
pkey/rsa_genkey$(EXEXT): pkey/rsa_genkey.c ../library/libmbedtls.a
|
2009-01-03 22:22:43 +01:00
|
|
|
echo " CC pkey/rsa_genkey.c"
|
|
|
|
$(CC) $(CFLAGS) $(OFLAGS) pkey/rsa_genkey.c $(LDFLAGS) -o $@
|
|
|
|
|
2015-02-14 00:04:58 +01:00
|
|
|
pkey/rsa_sign$(EXEXT): pkey/rsa_sign.c ../library/libmbedtls.a
|
2009-01-03 22:22:43 +01:00
|
|
|
echo " CC pkey/rsa_sign.c"
|
|
|
|
$(CC) $(CFLAGS) $(OFLAGS) pkey/rsa_sign.c $(LDFLAGS) -o $@
|
|
|
|
|
2015-02-14 00:04:58 +01:00
|
|
|
pkey/rsa_verify$(EXEXT): pkey/rsa_verify.c ../library/libmbedtls.a
|
2009-01-03 22:22:43 +01:00
|
|
|
echo " CC pkey/rsa_verify.c"
|
|
|
|
$(CC) $(CFLAGS) $(OFLAGS) pkey/rsa_verify.c $(LDFLAGS) -o $@
|
|
|
|
|
2015-02-14 00:04:58 +01:00
|
|
|
pkey/rsa_sign_pss$(EXEXT): pkey/rsa_sign_pss.c ../library/libmbedtls.a
|
2011-03-25 15:01:32 +01:00
|
|
|
echo " CC pkey/rsa_sign_pss.c"
|
|
|
|
$(CC) $(CFLAGS) $(OFLAGS) pkey/rsa_sign_pss.c $(LDFLAGS) -o $@
|
|
|
|
|
2015-02-14 00:04:58 +01:00
|
|
|
pkey/rsa_verify_pss$(EXEXT): pkey/rsa_verify_pss.c ../library/libmbedtls.a
|
2011-03-25 15:01:32 +01:00
|
|
|
echo " CC pkey/rsa_verify_pss.c"
|
|
|
|
$(CC) $(CFLAGS) $(OFLAGS) pkey/rsa_verify_pss.c $(LDFLAGS) -o $@
|
|
|
|
|
2015-02-14 00:04:58 +01:00
|
|
|
pkey/rsa_decrypt$(EXEXT): pkey/rsa_decrypt.c ../library/libmbedtls.a
|
2011-08-09 12:30:36 +02:00
|
|
|
echo " CC pkey/rsa_decrypt.c"
|
|
|
|
$(CC) $(CFLAGS) $(OFLAGS) pkey/rsa_decrypt.c $(LDFLAGS) -o $@
|
|
|
|
|
2015-02-14 00:04:58 +01:00
|
|
|
pkey/rsa_encrypt$(EXEXT): pkey/rsa_encrypt.c ../library/libmbedtls.a
|
2011-08-09 12:30:36 +02:00
|
|
|
echo " CC pkey/rsa_encrypt.c"
|
|
|
|
$(CC) $(CFLAGS) $(OFLAGS) pkey/rsa_encrypt.c $(LDFLAGS) -o $@
|
|
|
|
|
2015-02-14 00:04:58 +01:00
|
|
|
random/gen_entropy$(EXEXT): random/gen_entropy.c ../library/libmbedtls.a
|
2011-12-03 22:45:14 +01:00
|
|
|
echo " CC random/gen_entropy.c"
|
|
|
|
$(CC) $(CFLAGS) $(OFLAGS) random/gen_entropy.c $(LDFLAGS) -o $@
|
|
|
|
|
2015-02-14 00:04:58 +01:00
|
|
|
random/gen_random_havege$(EXEXT): random/gen_random_havege.c ../library/libmbedtls.a
|
2011-12-03 22:45:14 +01:00
|
|
|
echo " CC random/gen_random_havege.c"
|
|
|
|
$(CC) $(CFLAGS) $(OFLAGS) random/gen_random_havege.c $(LDFLAGS) -o $@
|
|
|
|
|
2015-02-14 00:04:58 +01:00
|
|
|
random/gen_random_ctr_drbg$(EXEXT): random/gen_random_ctr_drbg.c ../library/libmbedtls.a
|
2011-12-03 22:45:14 +01:00
|
|
|
echo " CC random/gen_random_ctr_drbg.c"
|
|
|
|
$(CC) $(CFLAGS) $(OFLAGS) random/gen_random_ctr_drbg.c $(LDFLAGS) -o $@
|
2011-01-27 17:50:02 +01:00
|
|
|
|
2015-02-14 00:04:58 +01:00
|
|
|
ssl/ssl_client1$(EXEXT): ssl/ssl_client1.c ../library/libmbedtls.a
|
2009-01-03 22:22:43 +01:00
|
|
|
echo " CC ssl/ssl_client1.c"
|
|
|
|
$(CC) $(CFLAGS) $(OFLAGS) ssl/ssl_client1.c $(LDFLAGS) -o $@
|
|
|
|
|
2015-02-14 00:04:58 +01:00
|
|
|
ssl/ssl_client2$(EXEXT): ssl/ssl_client2.c ../library/libmbedtls.a
|
2009-01-03 22:22:43 +01:00
|
|
|
echo " CC ssl/ssl_client2.c"
|
|
|
|
$(CC) $(CFLAGS) $(OFLAGS) ssl/ssl_client2.c $(LDFLAGS) -o $@
|
|
|
|
|
2015-02-14 00:04:58 +01:00
|
|
|
ssl/ssl_server$(EXEXT): ssl/ssl_server.c ../library/libmbedtls.a
|
2009-01-03 22:22:43 +01:00
|
|
|
echo " CC ssl/ssl_server.c"
|
|
|
|
$(CC) $(CFLAGS) $(OFLAGS) ssl/ssl_server.c $(LDFLAGS) -o $@
|
|
|
|
|
2015-02-14 00:04:58 +01:00
|
|
|
ssl/ssl_server2$(EXEXT): ssl/ssl_server2.c ../library/libmbedtls.a
|
2012-09-25 11:05:17 +02:00
|
|
|
echo " CC ssl/ssl_server2.c"
|
|
|
|
$(CC) $(CFLAGS) $(OFLAGS) ssl/ssl_server2.c $(LDFLAGS) -o $@
|
|
|
|
|
2015-02-14 00:04:58 +01:00
|
|
|
ssl/ssl_fork_server$(EXEXT): ssl/ssl_fork_server.c ../library/libmbedtls.a
|
2011-05-20 14:33:05 +02:00
|
|
|
echo " CC ssl/ssl_fork_server.c"
|
|
|
|
$(CC) $(CFLAGS) $(OFLAGS) ssl/ssl_fork_server.c $(LDFLAGS) -o $@
|
|
|
|
|
2015-02-14 00:04:58 +01:00
|
|
|
ssl/ssl_pthread_server$(EXEXT): ssl/ssl_pthread_server.c ../library/libmbedtls.a
|
2013-12-19 15:40:58 +01:00
|
|
|
echo " CC ssl/ssl_pthread_server.c"
|
|
|
|
$(CC) $(CFLAGS) $(OFLAGS) ssl/ssl_pthread_server.c $(LDFLAGS) -o $@ -lpthread
|
|
|
|
|
2015-02-14 00:04:58 +01:00
|
|
|
ssl/ssl_mail_client$(EXEXT): ssl/ssl_mail_client.c ../library/libmbedtls.a
|
2011-05-23 14:07:29 +02:00
|
|
|
echo " CC ssl/ssl_mail_client.c"
|
|
|
|
$(CC) $(CFLAGS) $(OFLAGS) ssl/ssl_mail_client.c $(LDFLAGS) -o $@
|
|
|
|
|
2015-02-14 00:04:58 +01:00
|
|
|
test/ssl_cert_test$(EXEXT): test/ssl_cert_test.c ../library/libmbedtls.a
|
2009-02-09 23:32:35 +01:00
|
|
|
echo " CC test/ssl_cert_test.c"
|
|
|
|
$(CC) $(CFLAGS) $(OFLAGS) test/ssl_cert_test.c $(LDFLAGS) -o $@
|
|
|
|
|
2015-02-14 00:04:58 +01:00
|
|
|
test/benchmark$(EXEXT): test/benchmark.c ../library/libmbedtls.a
|
2009-01-03 22:22:43 +01:00
|
|
|
echo " CC test/benchmark.c"
|
|
|
|
$(CC) $(CFLAGS) $(OFLAGS) test/benchmark.c $(LDFLAGS) -o $@
|
|
|
|
|
2015-02-14 00:04:58 +01:00
|
|
|
test/selftest$(EXEXT): test/selftest.c ../library/libmbedtls.a
|
2009-01-03 22:22:43 +01:00
|
|
|
echo " CC test/selftest.c"
|
|
|
|
$(CC) $(CFLAGS) $(OFLAGS) test/selftest.c $(LDFLAGS) -o $@
|
|
|
|
|
2015-02-14 00:04:58 +01:00
|
|
|
test/ssl_test$(EXEXT): test/ssl_test.c ../library/libmbedtls.a
|
2009-01-03 22:22:43 +01:00
|
|
|
echo " CC test/ssl_test.c"
|
|
|
|
$(CC) $(CFLAGS) $(OFLAGS) test/ssl_test.c $(LDFLAGS) -o $@
|
|
|
|
|
2015-02-14 00:04:58 +01:00
|
|
|
test/o_p_test$(EXEXT): test/o_p_test.c ../library/libmbedtls.a
|
2012-05-19 10:43:48 +02:00
|
|
|
echo " CC test/o_p_test.c"
|
|
|
|
$(CC) $(CFLAGS) $(OFLAGS) test/o_p_test.c $(LDFLAGS) -o $@ -lssl -lcrypto
|
|
|
|
|
2015-02-14 00:04:58 +01:00
|
|
|
util/pem2der$(EXEXT): util/pem2der.c ../library/libmbedtls.a
|
2013-08-25 14:50:09 +02:00
|
|
|
echo " CC util/pem2der.c"
|
|
|
|
$(CC) $(CFLAGS) $(OFLAGS) util/pem2der.c $(LDFLAGS) -o $@
|
|
|
|
|
2015-02-14 00:04:58 +01:00
|
|
|
util/strerror$(EXEXT): util/strerror.c ../library/libmbedtls.a
|
2012-05-08 10:36:15 +02:00
|
|
|
echo " CC util/strerror.c"
|
|
|
|
$(CC) $(CFLAGS) $(OFLAGS) util/strerror.c $(LDFLAGS) -o $@
|
|
|
|
|
2015-02-14 00:04:58 +01:00
|
|
|
x509/cert_app$(EXEXT): x509/cert_app.c ../library/libmbedtls.a
|
2010-03-18 21:11:58 +01:00
|
|
|
echo " CC x509/cert_app.c"
|
|
|
|
$(CC) $(CFLAGS) $(OFLAGS) x509/cert_app.c $(LDFLAGS) -o $@
|
|
|
|
|
2015-02-14 00:04:58 +01:00
|
|
|
x509/crl_app$(EXEXT): x509/crl_app.c ../library/libmbedtls.a
|
2011-02-12 16:27:28 +01:00
|
|
|
echo " CC x509/crl_app.c"
|
|
|
|
$(CC) $(CFLAGS) $(OFLAGS) x509/crl_app.c $(LDFLAGS) -o $@
|
|
|
|
|
2015-02-14 00:04:58 +01:00
|
|
|
x509/cert_req$(EXEXT): x509/cert_req.c ../library/libmbedtls.a
|
2012-02-14 00:11:30 +01:00
|
|
|
echo " CC x509/cert_req.c"
|
|
|
|
$(CC) $(CFLAGS) $(OFLAGS) x509/cert_req.c $(LDFLAGS) -o $@
|
|
|
|
|
2009-01-03 22:22:43 +01:00
|
|
|
clean:
|
2012-05-10 23:26:28 +02:00
|
|
|
ifndef WINDOWS
|
2009-01-03 22:22:43 +01:00
|
|
|
rm -f $(APPS)
|
2012-05-10 23:26:28 +02:00
|
|
|
endif
|
|
|
|
ifdef WINDOWS
|
|
|
|
del /S /Q /F *.o *.exe
|
|
|
|
endif
|
2013-09-16 13:33:42 +02:00
|
|
|
|
|
|
|
list:
|
|
|
|
echo $(APPS)
|