src/Makefile

changeset 816
425234b05dff
parent 794
23c6e3e846a8
child 833
5c926801f052
equal deleted inserted replaced
815:b0c4750cecd8 816:425234b05dff
22 # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 22 # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
23 23
24 include ../config.mk 24 include ../config.mk
25 25
26 SRC = allocator.c array_list.c buffer.c compare.c hash_key.c hash_map.c \ 26 SRC = allocator.c array_list.c buffer.c compare.c hash_key.c hash_map.c \
27 linked_list.c list.c map.c mempool.c printf.c string.c utils.c 27 linked_list.c list.c map.c tree.c mempool.c printf.c string.c utils.c
28 28
29 OBJ_EXT=.o 29 OBJ_EXT=.o
30 OBJ=$(SRC:%.c=$(build_dir)/%$(OBJ_EXT)) 30 OBJ=$(SRC:%.c=$(build_dir)/%$(OBJ_EXT))
31 GCOV=$(SRC:%.c=%.c.gcov) 31 GCOV=$(SRC:%.c=%.c.gcov)
32 32
122 122
123 $(build_dir)/szmul$(OBJ_EXT): szmul.c 123 $(build_dir)/szmul$(OBJ_EXT): szmul.c
124 @echo "Compiling $<" 124 @echo "Compiling $<"
125 $(CC) -o $@ $(CFLAGS) -c $< 125 $(CC) -o $@ $(CFLAGS) -c $<
126 126
127 $(build_dir)/tree$(OBJ_EXT): tree.c cx/tree.h cx/common.h
128 @echo "Compiling $<"
129 $(CC) -o $@ $(CFLAGS) -c $<
130
127 $(build_dir)/utils$(OBJ_EXT): utils.c cx/utils.h cx/common.h 131 $(build_dir)/utils$(OBJ_EXT): utils.c cx/utils.h cx/common.h
128 @echo "Compiling $<" 132 @echo "Compiling $<"
129 $(CC) -o $@ $(CFLAGS) -c $< 133 $(CC) -o $@ $(CFLAGS) -c $<
130 134

mercurial