src/Makefile

changeset 816
425234b05dff
parent 794
23c6e3e846a8
child 833
5c926801f052
     1.1 --- a/src/Makefile	Sat Jan 20 16:02:04 2024 +0100
     1.2 +++ b/src/Makefile	Mon Jan 22 19:34:38 2024 +0100
     1.3 @@ -24,7 +24,7 @@
     1.4  include ../config.mk
     1.5  
     1.6  SRC = allocator.c array_list.c buffer.c compare.c hash_key.c hash_map.c \
     1.7 -  linked_list.c list.c map.c mempool.c printf.c string.c utils.c
     1.8 +  linked_list.c list.c map.c tree.c mempool.c printf.c string.c utils.c
     1.9  
    1.10  OBJ_EXT=.o
    1.11  OBJ=$(SRC:%.c=$(build_dir)/%$(OBJ_EXT))
    1.12 @@ -124,6 +124,10 @@
    1.13  	@echo "Compiling $<"
    1.14  	$(CC) -o $@ $(CFLAGS) -c $<
    1.15  
    1.16 +$(build_dir)/tree$(OBJ_EXT): tree.c cx/tree.h cx/common.h
    1.17 +	@echo "Compiling $<"
    1.18 +	$(CC) -o $@ $(CFLAGS) -c $<
    1.19 +
    1.20  $(build_dir)/utils$(OBJ_EXT): utils.c cx/utils.h cx/common.h
    1.21  	@echo "Compiling $<"
    1.22  	$(CC) -o $@ $(CFLAGS) -c $<

mercurial