ucx/Makefile

changeset 745
aea83a43b09a
parent 742
7e67689241fd
child 747
efbd59642577
--- a/ucx/Makefile	Sat Mar 25 17:23:09 2023 +0100
+++ b/ucx/Makefile	Sun Apr 16 14:08:19 2023 +0200
@@ -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