summaryrefslogtreecommitdiffhomepage
path: root/auto/lib/sha1/makefile.msvc
blob: 2ec55d5a84cf917e4e454f1c2dd23afbcd8a75df (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19

# Copyright (C) Igor Sysoev


CFLAGS = -nologo -O2 -Ob1 -Oi -Gs $(LIBC) $(CPU_OPT) -D L_ENDIAN

!if "$(SHA1_ASM)" == "YES"

sha1.lib:
	cl -c $(CFLAGS) -D SHA1_ASM sha1dgst.c
	link -lib -out:sha1.lib sha1dgst.obj asm/s-win32.obj

!else

sha1.lib:
	cl -c $(CFLAGS) sha1dgst.c
	link -lib -out:sha1.lib sha1dgst.obj

!endif