libidav/Makefile

changeset 750
4d7a2238c5ac
parent 747
efbd59642577
child 795
05647e862a17
--- a/libidav/Makefile	Sun May 21 11:52:06 2023 +0200
+++ b/libidav/Makefile	Sun May 21 16:34:58 2023 +0200
@@ -50,8 +50,8 @@
 	$(AR) $(ARFLAGS) $(AOFLAGS)$@ $(OBJ)
 
 ../build/libidav/%$(OBJ_EXT): %.c
-	$(CC) $(CFLAGS) $(DAV_CFLAGS) -I.. -I../ucx -c -o $@ $<
+	$(CC) -I../ucx $(CFLAGS) $(DAV_CFLAGS) -c -o $@ $<
 
 cppcheck: $(SRC)
-	$(CPPCHECK) $(CPPCHECK_CONFIG) $(CPPCHECK_FLAGS) -I../ucx $+ 2>> ../$(CPPCHECK_LOG)
+	$(CPPCHECK) $(CPPCHECK_CONFIG) -I../ucx $(CPPCHECK_FLAGS) $+ 2>> ../$(CPPCHECK_LOG)
 

mercurial