libidav/Makefile

changeset 39
3e55bed345f9
parent 33
0bbbb0341606
child 40
a95ee94b9204
equal deleted inserted replaced
38:b855f76e965b 39:3e55bed345f9
35 SRC += utils.c 35 SRC += utils.c
36 SRC += davql.c 36 SRC += davql.c
37 37
38 OBJ = $(SRC:%.c=../build/libidav/%.$(OBJ_EXT)) 38 OBJ = $(SRC:%.c=../build/libidav/%.$(OBJ_EXT))
39 39
40 all: libidav 40 all: ../build/ucx ../build/libidav.$(LIB_EXT)
41 41
42 libidav: $(OBJ) 42 ../build/libidav.$(LIB_EXT): $(OBJ)
43 $(AR) $(ARFLAGS) $(AOFLAGS)../build/libidav.$(LIB_EXT) $(OBJ) 43 $(AR) $(ARFLAGS) $(AOFLAGS)../build/libidav.$(LIB_EXT) $(OBJ)
44 44
45 ../build/libidav/%.$(OBJ_EXT): %.c ../build/ucx 45 ../build/libidav/%.$(OBJ_EXT): %.c
46 $(CC) $(CFLAGS) $(DAV_CFLAGS) -I../ $(COFLAGS)$@ $< 46 $(CC) $(CFLAGS) $(DAV_CFLAGS) -I../ $(COFLAGS)$@ $<
47 47
48 ../build/idav: 48 ../build/idav:
49 mkdir -p ../build/idav 49 $(MKDIR) $(MKDIRFLAGS) ../build/idav

mercurial