correct build deps

This commit is contained in:
Alexey Fedoseev
2024-01-06 15:35:09 +03:00
parent f0a0e416ae
commit fa80b5c2ef

View File

@@ -30,7 +30,7 @@ else
ar rcs $@ $(LIB_OBJECTS) ar rcs $@ $(LIB_OBJECTS)
endif endif
$(TEST_TARGET): $(TEST_OBJECTS) $(TARGET) $(TEST_TARGET): $(TEST_OBJECTS) $(LIB_TARGET) $(LIB_ORJECTS)
gcc $(TEST_OBJECTS) -Wl,--no-as-needed $(LIBS) $(TEST_LIBS) -o $@ gcc $(TEST_OBJECTS) -Wl,--no-as-needed $(LIBS) $(TEST_LIBS) -o $@
%.o: %.c %.o: %.c