Skip to content

Instantly share code, notes, and snippets.

@HumanGamer
Created November 20, 2019 21:47
Show Gist options
  • Save HumanGamer/31c387a4f6ce87c9b213edd8eae02be2 to your computer and use it in GitHub Desktop.
Save HumanGamer/31c387a4f6ce87c9b213edd8eae02be2 to your computer and use it in GitHub Desktop.
Shell script to run make with all logical cores
#!/bin/sh
cores=$(nproc)
make -j$cores $@
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment