177
|
1 #
|
|
2 # Makefile.nt
|
|
3 #
|
|
4 # Copyright (C) 1998, 2009
|
|
5 # Paul E. Jones <paulej@packetizer.com>
|
|
6 # All Rights Reserved.
|
|
7 #
|
|
8 #############################################################################
|
|
9 # $Id: Makefile.nt 13 2009-06-22 20:20:32Z paulej $
|
|
10 #############################################################################
|
|
11 #
|
|
12 # Description:
|
|
13 # This is a makefile for Win32 to build the programs sha, shacmp, and
|
|
14 # shatest
|
|
15 #
|
|
16 # Portability Issues:
|
|
17 # Designed to work with Visual C++
|
|
18 #
|
|
19 #
|
|
20
|
|
21 .silent:
|
|
22
|
|
23 !include <win32.mak>
|
|
24
|
|
25 RM = del /q
|
|
26
|
|
27 LIBS = $(conlibs) setargv.obj
|
|
28
|
|
29 CFLAGS = -D _CRT_SECURE_NO_WARNINGS /EHsc /O2 /W3
|
|
30
|
|
31 OBJS = sha1.obj
|
|
32
|
|
33 all: sha.exe shacmp.exe shatest.exe
|
|
34
|
|
35 sha.exe: sha.obj $(OBJS)
|
|
36 $(link) $(conflags) -out:$@ sha.obj $(OBJS) $(LIBS)
|
|
37
|
|
38 shacmp.exe: shacmp.obj $(OBJS)
|
|
39 $(link) $(conflags) -out:$@ shacmp.obj $(OBJS) $(LIBS)
|
|
40
|
|
41 shatest.exe: shatest.obj $(OBJS)
|
|
42 $(link) $(conflags) -out:$@ shatest.obj $(OBJS) $(LIBS)
|
|
43
|
|
44 .cpp.obj:
|
|
45 $(cc) $(CFLAGS) $(cflags) $(cvars) $<
|
|
46
|
|
47 clean:
|
|
48 $(RM) *.obj sha.exe shacmp.exe shatest.exe
|