created installHeaderChat rule
This commit is contained in:
parent
3ac4f94559
commit
2ee8d1c990
6
Makefile
6
Makefile
@ -43,6 +43,7 @@ SRC_CHAT_SERVER=./src/chat/server/*.c
|
|||||||
INCLUDE_DIR=./include
|
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
|
||||||
|
INCLUDE_CHAT=$(INCLUDE_DIR)/chat/*.h
|
||||||
|
|
||||||
TEST_CORE=./src/core/lib/test/main.c
|
TEST_CORE=./src/core/lib/test/main.c
|
||||||
LIBS_CORE=-ljson-c -lcurl -lgit2
|
LIBS_CORE=-ljson-c -lcurl -lgit2
|
||||||
@ -74,6 +75,9 @@ installHeaderCore:
|
|||||||
installHeaderLogger:
|
installHeaderLogger:
|
||||||
for file in $(INCLUDE_LOGGER); do install -m 755 -D $(DOLLAR)file -t $(INSTALL_INCLUDE)/$(PROJECT_NAME)/logger; done
|
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:
|
buildLibCore:
|
||||||
$(MAKE) clean
|
$(MAKE) clean
|
||||||
$(CC) $(CFLAGS) -fPIC -c $(SRC_CORE)
|
$(CC) $(CFLAGS) -fPIC -c $(SRC_CORE)
|
||||||
@ -117,7 +121,7 @@ appLogger:
|
|||||||
clean:
|
clean:
|
||||||
rm -rf $(OUTPUT)/* $(LOGS)/* *.o *.so vgcore.*
|
rm -rf $(OUTPUT)/* $(LOGS)/* *.o *.so vgcore.*
|
||||||
|
|
||||||
installHeader: installHeaderCore installHeaderLogger
|
installHeader: installHeaderCore installHeaderLogger installHeaderChat
|
||||||
installLibs: installLibCore installLibLogger
|
installLibs: installLibCore installLibLogger
|
||||||
installApps: installAppCore installAppLogger
|
installApps: installAppCore installAppLogger
|
||||||
install: installHeader installLibs installApps clean
|
install: installHeader installLibs installApps clean
|
||||||
|
Loading…
x
Reference in New Issue
Block a user