| 23 |
23 |
| 24 include ../config.mk |
24 include ../config.mk |
| 25 |
25 |
| 26 TEST_DIR=$(build_dir)/tests |
26 TEST_DIR=$(build_dir)/tests |
| 27 |
27 |
| 28 all: $(TEST_DIR) $(build_dir)/libucx.a |
28 all: $(TEST_DIR) $(build_dir)/libucx_static.a |
| 29 cd $(TEST_DIR) && $(CMAKE) -DSTLIB_EXT="$(STLIB_EXT)" "$(src_dir)/tests" && $(CMAKE) --build . |
29 cd $(TEST_DIR) && $(CMAKE) -DSTLIB_EXT="$(STLIB_EXT)" "$(src_dir)/tests" && $(CMAKE) --build . |
| 30 @echo "[ Tests complete ]" |
30 @echo "[ Tests complete ]" |
| 31 |
31 |
| 32 # do not define libucx.a target - if it wasn't build, we simply fail! |
32 # do not define libucx.a target - if it wasn't build, we simply fail! |
| 33 |
33 |