separated build step from installLib into buildLib
This commit is contained in:
parent
e20a5e7b94
commit
a761f44bf5
4
Makefile
4
Makefile
@ -33,9 +33,11 @@ installHeader:
|
||||
for file in $(INCLUDE); do install -m 755 -D $(DOLLAR)file -t $(INSTALL_INCLUDE)/$(PROJECT_NAME); done
|
||||
ln -sf $(INSTALL_INCLUDE)/$(PROJECT_NAME)/$(PROJECT_NAME).h $(INSTALL_INCLUDE)/$(PROJECT_NAME).h
|
||||
|
||||
installLib:
|
||||
buildLib:
|
||||
$(CC) $(CFLAGS) -fPIC -c $(SRC)
|
||||
$(CC) $(CFLAGS) -shared -o lib$(PROJECT_NAME).so *.o $(LIBS)
|
||||
|
||||
installLib: buildLib
|
||||
install -m 755 ./lib$(PROJECT_NAME).so $(INSTALL_LIBRARY)/lib$(PROJECT_NAME).so
|
||||
|
||||
installApp: app
|
||||
|
Loading…
x
Reference in New Issue
Block a user