Page 1 of 1

what's mean $(call compile_c)

Posted: Wed Apr 05, 2017 1:14 am
by fkeujjpdc
in the 294th line of py.mk ,what does the

Code: Select all

 $(call compile_c)
mean,what does it do? i can't find information about it from internet.

Re: what's mean $(call compile_c)

Posted: Wed Apr 05, 2017 2:54 am
by dhylands
You'll find it in the make documentation: https://www.gnu.org/software/make/manua ... ction.html

Basically, this code defines the make function compile_c:
https://github.com/micropython/micropyt ... mk#L33-L43

and using $(call compile_c) is expanding that in place.