aboutsummaryrefslogtreecommitdiff
path: root/tests/cube2hash/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cube2hash/Makefile')
-rw-r--r--tests/cube2hash/Makefile14
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/cube2hash/Makefile b/tests/cube2hash/Makefile
new file mode 100644
index 00000000..5d0a7a63
--- /dev/null
+++ b/tests/cube2hash/Makefile
@@ -0,0 +1,14 @@
+all: cube2hash.bc
+
+cube2hash.bc: cube2crypto.o tiger.o hashstring.o
+ $(CXX) $^ -o $@
+
+hashstring.o: hashstring.cpp
+ $(CXX) -c $^ -o $@
+
+cube2crypto.o: cube2crypto.c cube2crypto.h
+ $(CC) -c $< -o $@
+
+tiger.o: tiger.c tiger.h
+ $(CC) -c $< -o $@
+