lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Makefile and shell loop


From: Johan Vromans
Subject: Re: Makefile and shell loop
Date: Fri, 9 Dec 2016 10:53:21 +0100

On Fri, 09 Dec 2016 10:30:32 +0100, Federico Bruni <address@hidden>
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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]