--- a/ucx/Makefile Wed Nov 02 11:45:56 2022 +0100 +++ b/ucx/Makefile Sat Feb 25 11:01:46 2023 +0100 @@ -26,7 +26,9 @@ # POSSIBILITY OF SUCH DAMAGE. # -include ../$(CONF).mk +BUILD_ROOT = .. + +include ../config.mk # list of source files SRC = utils.c @@ -51,7 +53,7 @@ $(AR) $(ARFLAGS) $(AOFLAGS)../build/libucx$(LIB_EXT) $(OBJ) ../build/ucx/%$(OBJ_EXT): %.c - $(CC) $(CFLAGS) $(COFLAGS)$@ $< + $(CC) $(CFLAGS) -c -o $@ $< ../build/ucx: $(MKDIR) $(MKDIRFLAGS) ../build/ucx