libidav/Makefile

changeset 746
a569148841ff
parent 745
aea83a43b09a
child 747
efbd59642577
--- a/libidav/Makefile	Sun Apr 16 14:08:19 2023 +0200
+++ b/libidav/Makefile	Sun Apr 16 14:12:24 2023 +0200
@@ -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) -I../ucx/  $(CFLAGS) $(DAV_CFLAGS) $(COFLAGS)$@ $<
+	$(CC) $(CFLAGS) $(DAV_CFLAGS) -I.. -I../ucx -c -o $@ $<
 
 cppcheck: $(SRC)
 	$(CPPCHECK) $(CPPCHECK_CONFIG) $(CPPCHECK_FLAGS) -I../ucx $+ 2>> ../$(CPPCHECK_LOG)

mercurial