src/ucx/Makefile

changeset 453
4586d534f9b5
parent 436
1260fad21be7
child 504
c094afcdfb27
equal deleted inserted replaced
452:ce359a2b51fe 453:4586d534f9b5
48 OBJ = $(SRC:%.c=$(BUILD_ROOT)/build/ucx/%$(OBJ_EXT)) 48 OBJ = $(SRC:%.c=$(BUILD_ROOT)/build/ucx/%$(OBJ_EXT))
49 49
50 all: $(BUILD_ROOT)/build/ucx $(BUILD_ROOT)/build/lib/libucx$(LIB_EXT) 50 all: $(BUILD_ROOT)/build/ucx $(BUILD_ROOT)/build/lib/libucx$(LIB_EXT)
51 51
52 $(BUILD_ROOT)/build/lib/libucx$(LIB_EXT): $(OBJ) 52 $(BUILD_ROOT)/build/lib/libucx$(LIB_EXT): $(OBJ)
53 $(CC) $(SHLIB_LDFLAGS) -o $@ $(OBJ) 53 $(CC) $(SHLIB_LDFLAGS) -o $@ $(OBJ) $(UCX_SO_NAME)
54 54
55 $(BUILD_ROOT)/build/ucx/%$(OBJ_EXT): %.c 55 $(BUILD_ROOT)/build/ucx/%$(OBJ_EXT): %.c
56 $(CC) $(CFLAGS) $(SHLIB_CFLAGS) -c -o $@ $< 56 $(CC) $(CFLAGS) $(SHLIB_CFLAGS) -c -o $@ $<
57 57
58 $(BUILD_ROOT)/build/ucx: 58 $(BUILD_ROOT)/build/ucx:

mercurial