mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-12-23 05:45:27 +00:00
- Added automatic WINDOWS define in Makefile
This commit is contained in:
parent
4d2c1243b1
commit
cd5b529d6d
|
@ -24,7 +24,9 @@ DLEXT=so
|
|||
# DLEXT=dylib
|
||||
|
||||
# Windows shared library extension:
|
||||
# DLEXT=dll
|
||||
ifdef WINDOWS
|
||||
DLEXT=dll
|
||||
endif
|
||||
|
||||
OBJS= aes.o arc4.o asn1parse.o \
|
||||
asn1write.o \
|
||||
|
|
|
@ -11,6 +11,10 @@ ifdef DEBUG
|
|||
CFLAGS += -g3
|
||||
endif
|
||||
|
||||
ifdef WINDOWS
|
||||
LDFLAGS += -lws2_32
|
||||
endif
|
||||
|
||||
APPS = aes/aescrypt2 aes/crypt_and_hash \
|
||||
hash/hello hash/generic_sum \
|
||||
hash/md5sum hash/sha1sum \
|
||||
|
|
|
@ -13,6 +13,10 @@ ifdef DEBUG
|
|||
CFLAGS += -g3
|
||||
endif
|
||||
|
||||
ifdef WINDOWS
|
||||
LDFLAGS += -lws2_32
|
||||
endif
|
||||
|
||||
APPS = test_suite_aes test_suite_arc4 \
|
||||
test_suite_base64 test_suite_camellia \
|
||||
test_suite_cipher.aes test_suite_cipher.camellia \
|
||||
|
|
Loading…
Reference in a new issue