خرید بک لینک

Vote count: 0

I write a Makefile like this:

all:
    @echo $(wildcard $(include)/*.sh)
    @echo $(include)

.PHONY:all

I input make "include=~" and output is

/home/ubuntu/caps_esc.sh /home/ubuntu/ss.sh
/home/ubuntu

But when inputing make "include=~ "(note the white space!) the output is

/home/ubuntu
/home/ubuntu

which means that the variable include is ~ plus white space. So my question is, How Makefile split string into individual words?

asked 58 secs ago

برچسب: نویسنده: استخدام کار تاريخ: جمعه 1 مرداد 1395 ساعت: 15:03

صفحه بندی