correct build deps
This commit is contained in:
2
Makefile
2
Makefile
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user