43 |
43 |
44 all: ../build/release/test ../build/release/test/ucxtest$(APP_EXT) |
44 all: ../build/release/test ../build/release/test/ucxtest$(APP_EXT) |
45 debug: ../build/debug/test ../build/debug/test/ucxtest$(APP_EXT) |
45 debug: ../build/debug/test ../build/debug/test/ucxtest$(APP_EXT) |
46 |
46 |
47 ../build/release/test/ucxtest$(APP_EXT): $(OBJ) |
47 ../build/release/test/ucxtest$(APP_EXT): $(OBJ) |
48 $(LD) $(LDFLAGS) $(LOFLAGS)../build/release/test/ucxtest$(APP_EXT) \ |
48 $(LD) $(LDFLAGS) -o ../build/release/test/ucxtest$(APP_EXT) \ |
49 $(OBJ) ../build/release/libucx$(LIB_EXT) |
49 $(OBJ) ../build/release/libucx$(LIB_EXT) |
50 |
50 |
51 ../build/release/test/%$(OBJ_EXT): %.c |
51 ../build/release/test/%$(OBJ_EXT): %.c |
52 $(CC) $(CFLAGS) -I../ $(COFLAGS)$@ $< |
52 $(CC) $(CFLAGS) -I../ -o $@ -c $< |
53 |
53 |
54 ../build/release/test: |
54 ../build/release/test: |
55 $(MKDIR) $(MKDIRFLAGS) ../build/release/test |
55 $(MKDIR) $(MKDIRFLAGS) ../build/release/test |
56 |
56 |
57 ../build/debug/test/ucxtest$(APP_EXT): $(OBJ_D) |
57 ../build/debug/test/ucxtest$(APP_EXT): $(OBJ_D) |
58 $(LD) $(LDFLAGS_D) $(LOFLAGS)../build/debug/test/ucxtest$(APP_EXT) \ |
58 $(LD) $(LDFLAGS) -o ../build/debug/test/ucxtest$(APP_EXT) \ |
59 $(OBJ_D) ../build/debug/libucx$(LIB_EXT) |
59 $(OBJ_D) ../build/debug/libucx$(LIB_EXT) |
60 |
60 |
61 ../build/debug/test/%$(OBJ_EXT): %.c |
61 ../build/debug/test/%$(OBJ_EXT): %.c |
62 $(CC) $(CFLAGS_D) -I../ $(COFLAGS)$@ $< |
62 $(CC) $(CFLAGS_D) -I../ -o $@ -c $< |
63 |
63 |
64 ../build/debug/test: |
64 ../build/debug/test: |
65 $(MKDIR) $(MKDIRFLAGS) ../build/debug/test |
65 $(MKDIR) $(MKDIRFLAGS) ../build/debug/test |