src/Makefile

changeset 970
c9b02747cfc5
parent 963
2f601274bbac
child 971
cc204fc56c9c
equal deleted inserted replaced
969:72e5432f6b42 970:c9b02747cfc5
64 $(SYMLINK) $(libdir)/libucx$(SHLIB_EXT).$(LIBVERSION) $(libdir)/libucx$(SHLIB_EXT).$(LIBVERSION_MAJOR) 64 $(SYMLINK) $(libdir)/libucx$(SHLIB_EXT).$(LIBVERSION) $(libdir)/libucx$(SHLIB_EXT).$(LIBVERSION_MAJOR)
65 $(SYMLINK) $(libdir)/libucx$(SHLIB_EXT).$(LIBVERSION_MAJOR) $(libdir)/libucx$(SHLIB_EXT) 65 $(SYMLINK) $(libdir)/libucx$(SHLIB_EXT).$(LIBVERSION_MAJOR) $(libdir)/libucx$(SHLIB_EXT)
66 66
67 FORCE: 67 FORCE:
68 68
69 $(build_dir)/allocator$(OBJ_EXT): allocator.c cx/allocator.h cx/common.h \ 69 $(build_dir)/allocator$(OBJ_EXT): allocator.c cx/allocator.h cx/common.h
70 cx/utils.h
71 @echo "Compiling $<" 70 @echo "Compiling $<"
72 $(CC) -o $@ $(CFLAGS) -c $< 71 $(CC) -o $@ $(CFLAGS) -c $<
73 72
74 $(build_dir)/array_list$(OBJ_EXT): array_list.c cx/array_list.h cx/list.h \ 73 $(build_dir)/array_list$(OBJ_EXT): array_list.c cx/array_list.h cx/list.h \
75 cx/common.h cx/collection.h cx/allocator.h cx/iterator.h cx/compare.h \ 74 cx/common.h cx/collection.h cx/allocator.h cx/iterator.h cx/compare.h \
76 cx/compare.h 75 cx/compare.h
77 @echo "Compiling $<" 76 @echo "Compiling $<"
78 $(CC) -o $@ $(CFLAGS) -c $< 77 $(CC) -o $@ $(CFLAGS) -c $<
79 78
80 $(build_dir)/buffer$(OBJ_EXT): buffer.c cx/buffer.h cx/common.h \ 79 $(build_dir)/buffer$(OBJ_EXT): buffer.c cx/buffer.h cx/common.h \
81 cx/allocator.h cx/utils.h 80 cx/allocator.h
82 @echo "Compiling $<" 81 @echo "Compiling $<"
83 $(CC) -o $@ $(CFLAGS) -c $< 82 $(CC) -o $@ $(CFLAGS) -c $<
84 83
85 $(build_dir)/compare$(OBJ_EXT): compare.c cx/compare.h cx/common.h 84 $(build_dir)/compare$(OBJ_EXT): compare.c cx/compare.h cx/common.h
86 @echo "Compiling $<" 85 @echo "Compiling $<"
121 cx/allocator.h cx/iterator.h cx/compare.h cx/string.h cx/hash_key.h 120 cx/allocator.h cx/iterator.h cx/compare.h cx/string.h cx/hash_key.h
122 @echo "Compiling $<" 121 @echo "Compiling $<"
123 $(CC) -o $@ $(CFLAGS) -c $< 122 $(CC) -o $@ $(CFLAGS) -c $<
124 123
125 $(build_dir)/mempool$(OBJ_EXT): mempool.c cx/mempool.h cx/common.h \ 124 $(build_dir)/mempool$(OBJ_EXT): mempool.c cx/mempool.h cx/common.h \
126 cx/allocator.h cx/utils.h 125 cx/allocator.h
127 @echo "Compiling $<" 126 @echo "Compiling $<"
128 $(CC) -o $@ $(CFLAGS) -c $< 127 $(CC) -o $@ $(CFLAGS) -c $<
129 128
130 $(build_dir)/printf$(OBJ_EXT): printf.c cx/printf.h cx/common.h \ 129 $(build_dir)/printf$(OBJ_EXT): printf.c cx/printf.h cx/common.h \
131 cx/string.h cx/allocator.h 130 cx/string.h cx/allocator.h

mercurial