40 SRC += logging.c |
40 SRC += logging.c |
41 SRC += buffer.c |
41 SRC += buffer.c |
42 |
42 |
43 OBJ = $(SRC:%.c=../build/ucx/%$(OBJ_EXT)) |
43 OBJ = $(SRC:%.c=../build/ucx/%$(OBJ_EXT)) |
44 |
44 |
45 all: ../build/ucx ../build/libucx.$(LIB_EXT) |
45 all: ../build/ucx ../build/libucx$(LIB_EXT) |
46 |
46 |
47 ../build/libucx.$(LIB_EXT): $(OBJ) |
47 ../build/libucx$(LIB_EXT): $(OBJ) |
48 $(AR) $(ARFLAGS) $(AOFLAGS)../build/libucx.$(LIB_EXT) $(OBJ) |
48 $(AR) $(ARFLAGS) $(AOFLAGS)../build/libucx$(LIB_EXT) $(OBJ) |
49 |
49 |
50 ../build/ucx/%$(OBJ_EXT): %.c |
50 ../build/ucx/%$(OBJ_EXT): %.c |
51 $(CC) $(CFLAGS) $(COFLAGS)$@ $< |
51 $(CC) $(CFLAGS) $(COFLAGS)$@ $< |
52 |
52 |
53 ../build/ucx: |
53 ../build/ucx: |