libhmap-c

C hashmap library
git clone https://git.sinitax.com/sinitax/libhmap-c
Log | Files | Refs | Submodules | LICENSE | sfeed.txt

commit 9ad64c4303484ab9ea82c2f901acf33044ea8a52
parent 0c789f0d72ea813b0962b93aab7a31a294f44b78
Author: Louis Burda <quent.burda@gmail.com>
Date:   Sat, 20 May 2023 11:56:58 +0200

Update build.jst

Diffstat:
Mbuild.jst | 21+++++++++++++++------
1 file changed, 15 insertions(+), 6 deletions(-)

diff --git a/build.jst b/build.jst @@ -1,6 +1,5 @@ CC = gcc -liballoc = lib/liballoc//build/liballoc.a cflags = -Wunused-function -Wunused-variable -Wconversion -Wformat -I include -I lib/liballoc/include @@ -22,15 +21,25 @@ rule cc target build mkdir +target lib/liballoc/build/liballoc.a + just lib/liballoc + target build/libhmap.a - liba src/hmap.c + liba src/hmap.c | include/hmap.h build target build/libhmap.so - libso src/hmap.c + libso src/hmap.c | include/hmap.h build target build/test - cc src/test.c build/libhmap.a $liballoc + cc src/test.c build/libhmap.a lib/liballoc/build/liballoc.a | build + +command clean + rm -rf build + +command cleanall + just clean + just -C lib/liballoc cleanall -target all - file build lib/liballoc//build build/libhmap.a build/libhmap.so build/test +command all + just build/libhmap.a build/libhmap.so build/test