changeset 4:a5ac7c5c6917

wrestle towards the 21st century....
author Henry S. Thompson <ht@inf.ed.ac.uk>
date Wed, 29 Jan 2025 12:38:05 +0000
parents c7c914a43c06
children 88a67b71b899
files Makefile
diffstat 1 files changed, 12 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile	Wed Jan 29 12:37:44 2025 +0000
+++ b/Makefile	Wed Jan 29 12:38:05 2025 +0000
@@ -164,6 +164,13 @@
 it instcheck
 	./instcheck
 
+clean:
+	rm *.o *.a
+	rm cdbget cdbmake cdbdump cdbstats cdbtest cdbmake-12 cdbmake-sv rts testzero
+	rm -rf rts-tmp
+	rm auto-str install instcheck compile makelib systype
+	rm conf-home conf-cc conf-ld load
+	rm auto_home.c uint32.h
 compile: \
 warn-auto.sh conf-cc
 	( cat warn-auto.sh; \
@@ -246,6 +253,7 @@
 cdbget cdbmake cdbdump cdbstats cdbtest cdbmake-12 cdbmake-sv rts \
 testzero
 
+# run tests
 rts: \
 warn-auto.sh rts.sh conf-home
 	cat warn-auto.sh rts.sh \
@@ -318,3 +326,7 @@
 seek_cur.o
 	./makelib unix.a error.o open_read.o open_trunc.o \
 	error_str.o seek_set.o seek_cur.o
+
+libcdb.a: \
+cdb.o error.o open_read.o seek_cur.o open_trunc.o seek_set.o byte_copy.o byte_diff.o error_str.o uint32_unpack.o cdb_hash.o
+	./makelib libcdb.a cdb.o error.o open_read.o seek_cur.o open_trunc.o seek_set.o byte_copy.o byte_diff.o error_str.o uint32_unpack.o cdb_hash.o