fixed cleaning
This commit is contained in:
parent
83a19851b5
commit
96d7e986da
4
Makefile
4
Makefile
@ -43,10 +43,12 @@ 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
|
||||||
|
|
||||||
buildLibCore:
|
buildLibCore:
|
||||||
|
$(MAKE) clean
|
||||||
$(CC) $(CFLAGS) -fPIC -c $(SRC_CORE)
|
$(CC) $(CFLAGS) -fPIC -c $(SRC_CORE)
|
||||||
$(CC) $(CFLAGS) -shared -o lib$(PROJECT_NAME).so *.o $(LIBS_CORE)
|
$(CC) $(CFLAGS) -shared -o lib$(PROJECT_NAME).so *.o $(LIBS_CORE)
|
||||||
|
|
||||||
buildLibLogger:
|
buildLibLogger:
|
||||||
|
$(MAKE) clean
|
||||||
$(CC) $(CFLAGS) -fPIC -c $(SRC_LOGGER)
|
$(CC) $(CFLAGS) -fPIC -c $(SRC_LOGGER)
|
||||||
$(CC) $(CFLAGS) -shared -o lib$(PROJECT_NAME)-logger.so *.o $(LIBS_LOGGER)
|
$(CC) $(CFLAGS) -shared -o lib$(PROJECT_NAME)-logger.so *.o $(LIBS_LOGGER)
|
||||||
|
|
||||||
@ -69,6 +71,6 @@ clean:
|
|||||||
rm -rf $(OUTPUT)/* *.o *.so
|
rm -rf $(OUTPUT)/* *.o *.so
|
||||||
|
|
||||||
installHeader: installHeaderCore installHeaderLogger
|
installHeader: installHeaderCore installHeaderLogger
|
||||||
install: installHeader installLibCore clean installLibLogger installAppCore clean
|
install: installHeader installLibCore installLibLogger installAppCore clean
|
||||||
installTest: install testCore
|
installTest: install testCore
|
||||||
all: install
|
all: install
|
Loading…
x
Reference in New Issue
Block a user