Re: Makefile and shell loop
Il giorno ven 9 dic 2016 alle 10:53, Johan Vromans ha scritto: where $(CPU_CORES) is treated as a string, instead of being executed in the shell: It seems you are using GNU make, so you can write CPU_CORES = $(shell cat /proc/cpuinfo | grep -m1 "cpu cores" | sed s/".*: "//) Yep, this evaluates to 4 (correct). Many thanks Johan! ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Makefile and shell loop
On Fri, 09 Dec 2016 10:30:32 +0100, Federico Bruni wrote: > where $(CPU_CORES) is treated as a string, instead of being executed in > the shell: It seems you are using GNU make, so you can write CPU_CORES = $(shell cat /proc/cpuinfo | grep -m1 "cpu cores" | sed s/".*: "//) -- Johan ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user