renamed LIBS to LIBS_CORE
This commit is contained in:
parent
4aa864ee2c
commit
4310a9de9a
4
Makefile
4
Makefile
@ -12,7 +12,7 @@ INCLUDE_CORE=$(INCLUDE_DIR)/*.h
|
|||||||
INCLUDE_LOGGER=$(INCLUDE_DIR)/logger/*.h
|
INCLUDE_LOGGER=$(INCLUDE_DIR)/logger/*.h
|
||||||
|
|
||||||
TEST=./src/lib/test/main.c
|
TEST=./src/lib/test/main.c
|
||||||
LIBS=-ljson-c -lcurl -lgit2
|
LIBS_CORE=-ljson-c -lcurl -lgit2
|
||||||
|
|
||||||
# Output Files
|
# Output Files
|
||||||
PROJECT_NAME=why2
|
PROJECT_NAME=why2
|
||||||
@ -42,7 +42,7 @@ installHeaderLogger:
|
|||||||
|
|
||||||
buildLibCore:
|
buildLibCore:
|
||||||
$(CC) $(CFLAGS) -fPIC -c $(SRC_CORE)
|
$(CC) $(CFLAGS) -fPIC -c $(SRC_CORE)
|
||||||
$(CC) $(CFLAGS) -shared -o lib$(PROJECT_NAME).so *.o $(LIBS)
|
$(CC) $(CFLAGS) -shared -o lib$(PROJECT_NAME).so *.o $(LIBS_CORE)
|
||||||
|
|
||||||
installLibCore: buildLibCore
|
installLibCore: buildLibCore
|
||||||
install -m 755 ./lib$(PROJECT_NAME).so $(INSTALL_LIBRARY)/lib$(PROJECT_NAME).so
|
install -m 755 ./lib$(PROJECT_NAME).so $(INSTALL_LIBRARY)/lib$(PROJECT_NAME).so
|
||||||
|
Loading…
x
Reference in New Issue
Block a user