2003-03-13 02:12:16 +00:00
|
|
|
#MSVC Makefile [tested with MSVC 6.00 with SP5]
|
|
|
|
#
|
|
|
|
#Tom St Denis
|
|
|
|
|
2003-06-01 18:55:11 +00:00
|
|
|
CFLAGS = /I. /Ogiyb1s /Gs /DWIN32 /W3
|
2003-03-13 02:12:16 +00:00
|
|
|
|
|
|
|
default: library
|
|
|
|
|
|
|
|
#List of objects to compile.
|
|
|
|
OBJECTS=keyring.obj gf.obj mem.obj sprng.obj ecc.obj base64.obj dh.obj rsa.obj \
|
|
|
|
bits.obj yarrow.obj cfb.obj ofb.obj ecb.obj ctr.obj cbc.obj hash.obj tiger.obj sha1.obj \
|
|
|
|
md5.obj md4.obj md2.obj sha256.obj sha512.obj xtea.obj aes.obj serpent.obj des.obj \
|
|
|
|
safer_tab.obj safer.obj safer+.obj rc4.obj rc2.obj rc6.obj rc5.obj cast5.obj noekeon.obj \
|
2003-06-01 18:55:11 +00:00
|
|
|
blowfish.obj crypt.obj mpi.obj prime.obj twofish.obj packet.obj hmac.obj strings.obj
|
2003-03-13 02:12:16 +00:00
|
|
|
|
|
|
|
library: $(OBJECTS)
|
|
|
|
lib /out:tomcrypt.lib $(OBJECTS)
|
|
|
|
|
|
|
|
test.obj: demos/test.c
|
|
|
|
cl $(CFLAGS) /c demos/test.c
|
|
|
|
|
|
|
|
test: library test.obj
|
|
|
|
cl test.obj tomcrypt.lib advapi32.lib
|