add missing deps on server object files when building check binaries
This commit is contained in:
2
Makefile
2
Makefile
@@ -92,7 +92,7 @@ CHECK_OBJ := $(CHECK_SRC:tests/unit/%.c=build/%.o)
|
|||||||
CHECK_BINS := $(CHECK_SRC:tests/unit/%.c=build/%)
|
CHECK_BINS := $(CHECK_SRC:tests/unit/%.c=build/%)
|
||||||
|
|
||||||
build/check_%: build/check_%.o
|
build/check_%: build/check_%.o
|
||||||
$(LINK) $^ -o $@ $(COMMON_OBJ) -lcheck
|
$(LINK) $^ -o $@ $(COMMON_OBJ) $(SERVER_OBJ) -lcheck
|
||||||
|
|
||||||
check_objs: $(CHECK_OBJ)
|
check_objs: $(CHECK_OBJ)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user