renamed TEST to TEST_CORE

This commit is contained in:
Václav Šmejkal 2022-11-18 16:27:52 +01:00
parent 4310a9de9a
commit 7df95e4535
No known key found for this signature in database
GPG Key ID: FD749A97DF2D5E19

View File

@ -11,7 +11,7 @@ INCLUDE_DIR=./include
INCLUDE_CORE=$(INCLUDE_DIR)/*.h INCLUDE_CORE=$(INCLUDE_DIR)/*.h
INCLUDE_LOGGER=$(INCLUDE_DIR)/logger/*.h INCLUDE_LOGGER=$(INCLUDE_DIR)/logger/*.h
TEST=./src/lib/test/main.c TEST_CORE=./src/lib/test/main.c
LIBS_CORE=-ljson-c -lcurl -lgit2 LIBS_CORE=-ljson-c -lcurl -lgit2
# Output Files # Output Files
@ -51,7 +51,7 @@ installAppCore: app
install -m 755 $(OUTPUT_APP) $(INSTALL_BIN)/$(PROJECT_NAME) install -m 755 $(OUTPUT_APP) $(INSTALL_BIN)/$(PROJECT_NAME)
test: test:
$(CC) $(CFLAGS) -g $(TEST) -o $(OUTPUT_TEST) -l$(PROJECT_NAME) $(CC) $(CFLAGS) -g $(TEST_CORE) -o $(OUTPUT_TEST) -l$(PROJECT_NAME)
app: app:
$(CC) $(CFLAGS) $(SRC_CORE_APP) -o $(OUTPUT_APP) -l$(PROJECT_NAME) $(CC) $(CFLAGS) $(SRC_CORE_APP) -o $(OUTPUT_APP) -l$(PROJECT_NAME)