Code: Select all
make -j2; make install;
Code: Select all
make clean; make -j2; make install;
If you really wanted to be crafty and do the pull and build in one command, you could do something like this to update and launch the latest version in one command:
Code: Select all
# Updates lmms git repo, builds and launches the latest version
cd /home/tres/lmms; git remote update; git pull; cd build; cmake .. -DCMAKE_INSTALL_PREFIX=../target; make -j2; make install; ../target/bin/lmms;
-Tres