# HG changeset patch # User Henry S. Thompson # Date 1738154285 0 # Node ID a5ac7c5c69172c3b058f0840c0932dc5d92210a2 # Parent c7c914a43c067d355e06c99ebe4984f6f3e54b10 wrestle towards the 21st century.... diff -r c7c914a43c06 -r a5ac7c5c6917 Makefile --- 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