annotate Resources/sha1/Makefile @ 285:4031f73fe0e4

access to the raw dicom tags
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 12 Dec 2012 17:53:14 +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
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 12 2009-06-22 19:34:25Z 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 UNIX 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 #
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
17
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
18 CC = g++
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
19
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
20 CFLAGS = -c -O2 -Wall -D_FILE_OFFSET_BITS=64
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
21
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
22 LIBS =
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
23
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
24 OBJS = sha1.o
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
25
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
26 all: sha shacmp shatest
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
27
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
28 sha: sha.o $(OBJS)
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
29 $(CC) -o $@ sha.o $(OBJS) $(LIBS)
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
30
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
31 shacmp: shacmp.o $(OBJS)
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
32 $(CC) -o $@ shacmp.o $(OBJS) $(LIBS)
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
33
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
34 shatest: shatest.o $(OBJS)
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
35 $(CC) -o $@ shatest.o $(OBJS) $(LIBS)
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
36
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
37 %.o: %.cpp
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
38 $(CC) $(CFLAGS) -o $@ $<
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
39
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
40 clean:
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
41 $(RM) *.o sha shacmp shatest