libidav/Makefile

changeset 747
efbd59642577
parent 746
a569148841ff
child 750
4d7a2238c5ac
equal deleted inserted replaced
746:a569148841ff 747:efbd59642577
42 SRC += xml.c 42 SRC += xml.c
43 SRC += versioning.c 43 SRC += versioning.c
44 44
45 OBJ = $(SRC:%.c=../build/libidav/%$(OBJ_EXT)) 45 OBJ = $(SRC:%.c=../build/libidav/%$(OBJ_EXT))
46 46
47 all: ../build/ucx ../build/libidav$(LIB_EXT) 47 all: ../build/ucx ../build/lib/libidav$(LIB_EXT)
48 48
49 ../build/libidav$(LIB_EXT): $(OBJ) 49 ../build/lib/libidav$(LIB_EXT): $(OBJ)
50 $(AR) $(ARFLAGS) $(AOFLAGS)../build/libidav$(LIB_EXT) $(OBJ) 50 $(AR) $(ARFLAGS) $(AOFLAGS)$@ $(OBJ)
51 51
52 ../build/libidav/%$(OBJ_EXT): %.c 52 ../build/libidav/%$(OBJ_EXT): %.c
53 $(CC) $(CFLAGS) $(DAV_CFLAGS) -I.. -I../ucx -c -o $@ $< 53 $(CC) $(CFLAGS) $(DAV_CFLAGS) -I.. -I../ucx -c -o $@ $<
54 54
55 cppcheck: $(SRC) 55 cppcheck: $(SRC)

mercurial