help-make
[Top][All Lists]
Advanced

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

Executing Recipe


From: MD.Mahbubur Rahman
Subject: Executing Recipe
Date: Tue, 13 Sep 2011 01:48:25 -0700 (PDT)

Hi,
I am new to this forum and I am new to GNU Make.
I am confused in the following code hilighted as BOLD:

MY_VAR = $(wildcard *.foo) 
TEST_VAR = $(shell ls *.foo)

define MY_VAR2 
        @echo "MY_VAR" $(1) $(MY_VAR)
        @echo "TEST_VAR" $(1) $(TEST_VAR)
endef 

foo: create_files 
        $(call MY_VAR2, ls)
        @rm -f *.foo 

create_files: 
        @touch foo.foo 
        @touch bar.foo

My question is: call is a make built in function and not a bash command. How
than it is being executed by shell? I am sorry for this stupid question as I
am quite new to GNU MAKE. Can some one make me clear?
-- 
View this message in context: 
http://old.nabble.com/Executing-Recipe-tp32454061p32454061.html
Sent from the Gnu - Make - Help mailing list archive at Nabble.com.




reply via email to

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