what's mean $(call compile_c)

C programming, build, interpreter/VM.
Target audience: MicroPython Developers.
Post Reply
User avatar
fkeujjpdc
Posts: 13
Joined: Thu Mar 23, 2017 3:17 am
Location: china

what's mean $(call compile_c)

Post by fkeujjpdc » Wed Apr 05, 2017 1:14 am

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.

User avatar
dhylands
Posts: 3821
Joined: Mon Jan 06, 2014 6:08 pm
Location: Peachland, BC, Canada
Contact:

Re: what's mean $(call compile_c)

Post by dhylands » Wed Apr 05, 2017 2:54 am

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.

Post Reply