summaryrefslogtreecommitdiff
path: root/3rdParty/sha1/Makefile
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2015-04-30 21:02:15 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2015-04-30 21:02:15 +0200
commit536cc69836d758ab7d156115ce296a3a25ce8aac (patch)
treeff24e7f4ed01a9343fe73f049defb4b93f201a5a /3rdParty/sha1/Makefile
parenta3e26005fe00abe8836ba5dcdd1b9887ae6b1c27 (diff)
parent37dd84ec2145f500dce94fb136bd266b6445ae16 (diff)
downloadaCms-536cc69836d758ab7d156115ce296a3a25ce8aac.tar.gz
aCms-536cc69836d758ab7d156115ce296a3a25ce8aac.tar.bz2
Merge branch 'master' of ssh://git.andreasbaumann.cc/strusCms
Diffstat (limited to '3rdParty/sha1/Makefile')
-rw-r--r--3rdParty/sha1/Makefile41
1 files changed, 41 insertions, 0 deletions
diff --git a/3rdParty/sha1/Makefile b/3rdParty/sha1/Makefile
new file mode 100644
index 0000000..66aaf2b
--- /dev/null
+++ b/3rdParty/sha1/Makefile
@@ -0,0 +1,41 @@
+#
+# Makefile
+#
+# Copyright (C) 1998, 2009
+# Paul E. Jones <paulej@packetizer.com>
+# All Rights Reserved.
+#
+#############################################################################
+# $Id: Makefile 12 2009-06-22 19:34:25Z paulej $
+#############################################################################
+#
+# Description:
+# This is a makefile for UNIX to build the programs sha, shacmp, and
+# shatest
+#
+#
+
+CC = g++
+
+CFLAGS = -c -O2 -Wall -D_FILE_OFFSET_BITS=64
+
+LIBS =
+
+OBJS = sha1.o
+
+all: sha shacmp shatest
+
+sha: sha.o $(OBJS)
+ $(CC) -o $@ sha.o $(OBJS) $(LIBS)
+
+shacmp: shacmp.o $(OBJS)
+ $(CC) -o $@ shacmp.o $(OBJS) $(LIBS)
+
+shatest: shatest.o $(OBJS)
+ $(CC) -o $@ shatest.o $(OBJS) $(LIBS)
+
+%.o: %.cpp
+ $(CC) $(CFLAGS) -o $@ $<
+
+clean:
+ $(RM) *.o sha shacmp shatest