summaryrefslogtreecommitdiffstats
path: root/runtime/hashtable/Makefile
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2010-09-28 11:32:48 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2010-09-28 11:32:48 +0200
commitd748c68c09ae7d4f8c22c4245e5509019c59511c (patch)
treebfb9125613492334c00286e4c22eab5fb27c1926 /runtime/hashtable/Makefile
parentb5da6352830e9841dd367b8490d79461adb5cb22 (diff)
downloadrsyslog-d748c68c09ae7d4f8c22c4245e5509019c59511c.tar.gz
rsyslog-d748c68c09ae7d4f8c22c4245e5509019c59511c.tar.xz
rsyslog-d748c68c09ae7d4f8c22c4245e5509019c59511c.zip
added some generic hashtable code by Christopher Clark
found at http://www.cl.cam.ac.uk/~cwc22/hashtable/
Diffstat (limited to 'runtime/hashtable/Makefile')
-rw-r--r--runtime/hashtable/Makefile26
1 files changed, 26 insertions, 0 deletions
diff --git a/runtime/hashtable/Makefile b/runtime/hashtable/Makefile
new file mode 100644
index 00000000..3b7b5e9f
--- /dev/null
+++ b/runtime/hashtable/Makefile
@@ -0,0 +1,26 @@
+
+tester: hashtable.o tester.o hashtable_itr.o
+ gcc -g -Wall -O -lm -o tester hashtable.o hashtable_itr.o tester.o
+
+all: tester old_tester
+
+tester.o: tester.c
+ gcc -g -Wall -O -c tester.c -o tester.o
+
+old_tester: hashtable_powers.o tester.o hashtable_itr.o
+ gcc -g -Wall -O -o old_tester hashtable_powers.o hashtable_itr.o tester.o
+
+hashtable_powers.o: hashtable_powers.c
+ gcc -g -Wall -O -c hashtable_powers.c -o hashtable_powers.o
+
+hashtable.o: hashtable.c
+ gcc -g -Wall -O -c hashtable.c -o hashtable.o
+
+hashtable_itr.o: hashtable_itr.c
+ gcc -g -Wall -O -c hashtable_itr.c -o hashtable_itr.o
+
+tidy:
+ rm *.o
+
+clean: tidy
+ rm -f tester old_tester