tests/Makefile

changeset 773
bbf2f18b3818
parent 770
ed710122af44
child 777
e5b29e6f0615
equal deleted inserted replaced
772:4586a84c0c0b 773:bbf2f18b3818
33 OBJ=$(SRC:%.c=$(TEST_DIR)/%$(OBJ_EXT)) 33 OBJ=$(SRC:%.c=$(TEST_DIR)/%$(OBJ_EXT))
34 34
35 all: $(TEST_DIR) $(TEST_DIR)/ucxtest 35 all: $(TEST_DIR) $(TEST_DIR)/ucxtest
36 36
37 $(TEST_DIR)/ucxtest: $(OBJ) $(build_dir)/libucx_static.a 37 $(TEST_DIR)/ucxtest: $(OBJ) $(build_dir)/libucx_static.a
38 $(CC) -o $@ $+ 38 $(CC) -o $@ $(LDFLAGS) $+
39 39
40 $(build_dir)/libucx_static.a: 40 $(build_dir)/libucx_static.a:
41 test -f "$@" 41 test -f "$@"
42 42
43 $(TEST_DIR): 43 $(TEST_DIR):

mercurial