libidav/Makefile

changeset 747
efbd59642577
parent 746
a569148841ff
child 750
4d7a2238c5ac
--- a/libidav/Makefile	Sun Apr 16 14:12:24 2023 +0200
+++ b/libidav/Makefile	Fri Apr 21 21:25:32 2023 +0200
@@ -44,10 +44,10 @@
 
 OBJ = $(SRC:%.c=../build/libidav/%$(OBJ_EXT))
 
-all: ../build/ucx ../build/libidav$(LIB_EXT)
+all: ../build/ucx ../build/lib/libidav$(LIB_EXT)
 
-../build/libidav$(LIB_EXT): $(OBJ)
-	$(AR) $(ARFLAGS) $(AOFLAGS)../build/libidav$(LIB_EXT) $(OBJ)
+../build/lib/libidav$(LIB_EXT): $(OBJ)
+	$(AR) $(ARFLAGS) $(AOFLAGS)$@ $(OBJ)
 
 ../build/libidav/%$(OBJ_EXT): %.c
 	$(CC) $(CFLAGS) $(DAV_CFLAGS) -I.. -I../ucx -c -o $@ $<

mercurial