created rule & variables for appLogger

This commit is contained in:
Václav Šmejkal 2023-02-08 14:38:50 +01:00
parent 6603fed5c8
commit 86ca484c85
Signed by: ENGO150
GPG Key ID: F6D6DF86242C5A59

View File

@ -27,11 +27,13 @@ OUTPUT_TEST_CORE=$(OUTPUT)/$(PROJECT_NAME)-core-test
OUTPUT_APP_CORE=$(OUTPUT)/$(PROJECT_NAME)-core-app
OUTPUT_TEST_LOGGER=$(OUTPUT)/$(PROJECT_NAME)-logger-test
OUTPUT_APP_LOGGER=$(OUTPUT)/$(PROJECT_NAME)-logger-app
# Source Code
SRC_CORE=./src/core/lib/*.c ./src/core/lib/utils/*.c
SRC_CORE_APP=./src/core/app/*.c
SRC_LOGGER=./src/logger/lib/*.c
SRC_LOGGER_APP=./src/logger/app/*.c
INCLUDE_DIR=./include
INCLUDE_CORE=$(INCLUDE_DIR)/*.h
@ -93,6 +95,9 @@ testLogger:
appCore:
$(CC) $(CFLAGS) $(SRC_CORE_APP) -o $(OUTPUT_APP_CORE) $(LIB_CORE)
appLogger:
$(CC) $(CFLAGS) $(SRC_LOGGER_APP) -o $(OUTPUT_APP_LOGGER) $(LIB_LOGGER)
clean:
rm -rf $(OUTPUT)/* $(LOGS)/* *.o *.so vgcore.*