fixed cleaning

This commit is contained in:
Václav Šmejkal 2022-11-18 17:24:30 +01:00
parent 83a19851b5
commit 96d7e986da
No known key found for this signature in database
GPG Key ID: FD749A97DF2D5E19

View File

@ -43,10 +43,12 @@ installHeaderLogger:
for file in $(INCLUDE_LOGGER); do install -m 755 -D $(DOLLAR)file -t $(INSTALL_INCLUDE)/$(PROJECT_NAME)/logger; done
buildLibCore:
$(MAKE) clean
$(CC) $(CFLAGS) -fPIC -c $(SRC_CORE)
$(CC) $(CFLAGS) -shared -o lib$(PROJECT_NAME).so *.o $(LIBS_CORE)
buildLibLogger:
$(MAKE) clean
$(CC) $(CFLAGS) -fPIC -c $(SRC_LOGGER)
$(CC) $(CFLAGS) -shared -o lib$(PROJECT_NAME)-logger.so *.o $(LIBS_LOGGER)
@ -69,6 +71,6 @@ clean:
rm -rf $(OUTPUT)/* *.o *.so
installHeader: installHeaderCore installHeaderLogger
install: installHeader installLibCore clean installLibLogger installAppCore clean
install: installHeader installLibCore installLibLogger installAppCore clean
installTest: install testCore
all: install