fixed Makefile undefined reference problem

This commit is contained in:
Václav Šmejkal 2023-02-08 18:51:10 +01:00
parent cee2af64a1
commit c43df47328
Signed by: ENGO150
GPG Key ID: 4A57E86482968843

View File

@ -93,13 +93,13 @@ testCore:
$(CC) $(CFLAGS) $(TEST_CORE) -o $(OUTPUT_TEST_CORE) $(LIB_CORE) $(CC) $(CFLAGS) $(TEST_CORE) -o $(OUTPUT_TEST_CORE) $(LIB_CORE)
testLogger: testLogger:
$(CC) $(CFLAGS) $(TEST_LOGGER) -o $(OUTPUT_TEST_LOGGER) $(LIB_CORE) $(LIB_LOGGER) $(CC) $(CFLAGS) $(TEST_LOGGER) -o $(OUTPUT_TEST_LOGGER) $(LIBS_LOGGER) $(LIB_LOGGER)
appCore: appCore:
$(CC) $(CFLAGS) $(SRC_CORE_APP) -o $(OUTPUT_APP_CORE) $(LIB_CORE) $(CC) $(CFLAGS) $(SRC_CORE_APP) -o $(OUTPUT_APP_CORE) $(LIB_CORE)
appLogger: appLogger:
$(CC) $(CFLAGS) $(SRC_LOGGER_APP) -o $(OUTPUT_APP_LOGGER) $(LIB_LOGGER) $(CC) $(CFLAGS) $(SRC_LOGGER_APP) -o $(OUTPUT_APP_LOGGER) $(LIBS_LOGGER) $(LIB_LOGGER)
clean: clean:
rm -rf $(OUTPUT)/* $(LOGS)/* *.o *.so vgcore.* rm -rf $(OUTPUT)/* $(LOGS)/* *.o *.so vgcore.*