view libtommath/etc/makefile.msvc @ 1406:96a282e78085

Fix libtomcrypt/libtommath linking order To prevent build failures when using system libtom libraries and linking with --as-needed, LIBTOM_LIBS should be in the order -ltomcrypt -ltommath, not the other way around, ie libs should be prepended to LIBTOM_LIBS as they are found, not appended. Signed-off-by: Andre McCurdy <[email protected]>
author Andre McCurdy <armccurdy@gmail.com>
date Fri, 16 Sep 2016 12:18:23 -0700
parents eed26cff980b
children
line wrap: on
line source

#MSVC Makefile
#
#Tom St Denis

CFLAGS = /I../ /Ox /DWIN32 /W3

pprime: pprime.obj
	cl pprime.obj ../tommath.lib 

mersenne: mersenne.obj
	cl mersenne.obj ../tommath.lib
	
tune: tune.obj
	cl tune.obj ../tommath.lib

mont: mont.obj
	cl mont.obj ../tommath.lib
	
drprime: drprime.obj
	cl drprime.obj ../tommath.lib

2kprime: 2kprime.obj
	cl 2kprime.obj ../tommath.lib