ucx/Makefile

changeset 33
0bbbb0341606
parent 5
88625853ae74
child 39
3e55bed345f9
--- a/ucx/Makefile	Fri Aug 23 11:04:07 2013 +0200
+++ b/ucx/Makefile	Mon Aug 26 14:42:09 2013 +0200
@@ -40,15 +40,15 @@
 SRC += logging.c
 SRC += buffer.c
 
-OBJ = $(SRC:%.c=../build/%.$(OBJ_EXT))
+OBJ = $(SRC:%.c=../build/ucx/%.$(OBJ_EXT))
 
 all: libucx
 
 libucx: $(OBJ)
 	$(AR) $(ARFLAGS) $(AOFLAGS)../build/libucx.$(LIB_EXT) $(OBJ)
 
-../build/%.$(OBJ_EXT): %.c ../build
+../build/ucx/%.$(OBJ_EXT): %.c ../build/ucx
 	$(CC) $(CFLAGS) $(COFLAGS)$@ $<
 
-../build:
-	mkdir -p ../build
+../build/ucx:
+	mkdir -p ../build/ucx

mercurial