ucx/Makefile

changeset 67
6b0c60659652
parent 39
3e55bed345f9
child 70
88092b88ec00
equal deleted inserted replaced
66:f8c1f685e08e 67:6b0c60659652
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:

mercurial