comparison Resources/sha1/Makefile @ 177:81b6f3013738

sha1
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 09 Nov 2012 10:42:00 +0100
parents
children
comparison
equal deleted inserted replaced
176:81f11fb357f2 177:81b6f3013738
1 #
2 # Makefile
3 #
4 # Copyright (C) 1998, 2009
5 # Paul E. Jones <paulej@packetizer.com>
6 # All Rights Reserved.
7 #
8 #############################################################################
9 # $Id: Makefile 12 2009-06-22 19:34:25Z paulej $
10 #############################################################################
11 #
12 # Description:
13 # This is a makefile for UNIX to build the programs sha, shacmp, and
14 # shatest
15 #
16 #
17
18 CC = g++
19
20 CFLAGS = -c -O2 -Wall -D_FILE_OFFSET_BITS=64
21
22 LIBS =
23
24 OBJS = sha1.o
25
26 all: sha shacmp shatest
27
28 sha: sha.o $(OBJS)
29 $(CC) -o $@ sha.o $(OBJS) $(LIBS)
30
31 shacmp: shacmp.o $(OBJS)
32 $(CC) -o $@ shacmp.o $(OBJS) $(LIBS)
33
34 shatest: shatest.o $(OBJS)
35 $(CC) -o $@ shatest.o $(OBJS) $(LIBS)
36
37 %.o: %.cpp
38 $(CC) $(CFLAGS) -o $@ $<
39
40 clean:
41 $(RM) *.o sha shacmp shatest