Created
January 8, 2021 09:48
-
-
Save abecodes/22793793b234ab6e3cdfa14176c1b96a to your computer and use it in GitHub Desktop.
makefile-parallel-builds
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| build_parallel: build_job_1 build_job_2 build_job_3 | |
| build: | |
| @$(MAKE) build_parallel -j$(shell sysctl hw.ncpu | grep -o '[0-9]\+') | |
| @echo "[ok]" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment