libidav/Makefile

changeset 39
3e55bed345f9
parent 33
0bbbb0341606
child 40
a95ee94b9204
--- a/libidav/Makefile	Tue Sep 03 12:08:35 2013 +0200
+++ b/libidav/Makefile	Sat Sep 07 14:08:43 2013 +0200
@@ -37,13 +37,13 @@
 
 OBJ = $(SRC:%.c=../build/libidav/%.$(OBJ_EXT))
 
-all: libidav
+all: ../build/ucx ../build/libidav.$(LIB_EXT)
 
-libidav: $(OBJ)
+../build/libidav.$(LIB_EXT): $(OBJ)
 	$(AR) $(ARFLAGS) $(AOFLAGS)../build/libidav.$(LIB_EXT) $(OBJ)
 
-../build/libidav/%.$(OBJ_EXT): %.c ../build/ucx
+../build/libidav/%.$(OBJ_EXT): %.c
 	$(CC) $(CFLAGS) $(DAV_CFLAGS) -I../ $(COFLAGS)$@ $<
 
 ../build/idav:
-	mkdir -p ../build/idav
+	$(MKDIR) $(MKDIRFLAGS) ../build/idav

mercurial