From 2ee8d1c9904086a8d10ce4e6354b8b464823460e Mon Sep 17 00:00:00 2001 From: ENGO150 Date: Thu, 9 Feb 2023 17:56:11 +0100 Subject: [PATCH] created installHeaderChat rule --- Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index fc9f253..1505d13 100644 --- a/Makefile +++ b/Makefile @@ -43,6 +43,7 @@ SRC_CHAT_SERVER=./src/chat/server/*.c INCLUDE_DIR=./include INCLUDE_CORE=$(INCLUDE_DIR)/*.h INCLUDE_LOGGER=$(INCLUDE_DIR)/logger/*.h +INCLUDE_CHAT=$(INCLUDE_DIR)/chat/*.h TEST_CORE=./src/core/lib/test/main.c LIBS_CORE=-ljson-c -lcurl -lgit2 @@ -74,6 +75,9 @@ installHeaderCore: installHeaderLogger: for file in $(INCLUDE_LOGGER); do install -m 755 -D $(DOLLAR)file -t $(INSTALL_INCLUDE)/$(PROJECT_NAME)/logger; done +installHeaderChat: + for file in $(INCLUDE_CHAT); do install -m 755 -D $(DOLLAR)file -t $(INSTALL_INCLUDE)/$(PROJECT_NAME)/chat; done + buildLibCore: $(MAKE) clean $(CC) $(CFLAGS) -fPIC -c $(SRC_CORE) @@ -117,7 +121,7 @@ appLogger: clean: rm -rf $(OUTPUT)/* $(LOGS)/* *.o *.so vgcore.* -installHeader: installHeaderCore installHeaderLogger +installHeader: installHeaderCore installHeaderLogger installHeaderChat installLibs: installLibCore installLibLogger installApps: installAppCore installAppLogger install: installHeader installLibs installApps clean