ucx/Makefile

changeset 742
7e67689241fd
parent 602
ff9e8d2e2f3c
child 747
efbd59642577
--- 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

mercurial