annotate Resources/sha1/Makefile.nt @ 265:9cd240cfd3a6 Orthanc-0.3.1

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