libidav/Makefile

changeset 742
7e67689241fd
parent 475
52e4171d42ce
child 745
aea83a43b09a
--- a/libidav/Makefile	Wed Nov 02 11:45:56 2022 +0100
+++ b/libidav/Makefile	Sat Feb 25 11:01:46 2023 +0100
@@ -26,9 +26,9 @@
 # POSSIBILITY OF SUCH DAMAGE.
 #
 
-CONF=gcc
-include ../$(CONF).mk
-include ../cppcheck.mk
+BUILD_ROOT = ..
+
+include ../config.mk
 
 # list of source files
 SRC  = webdav.c
@@ -50,7 +50,7 @@
 	$(AR) $(ARFLAGS) $(AOFLAGS)../build/libidav$(LIB_EXT) $(OBJ)
 
 ../build/libidav/%$(OBJ_EXT): %.c
-	$(CC) $(CFLAGS) $(DAV_CFLAGS) -I.. -I../ucx $(COFLAGS)$@ $<
+	$(CC) $(CFLAGS) $(DAV_CFLAGS) -I.. -I../ucx -c -o $@ $<
 
 cppcheck: $(SRC)
 	$(CPPCHECK) $(CPPCHECK_CONFIG) $(CPPCHECK_FLAGS) -I../ucx $+ 2>> ../$(CPPCHECK_LOG)

mercurial