<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[luozhenger的博客]]></title><description><![CDATA[]]></description><link>https://blog.youkuaiyun.com/luozhenger</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; luozhenger]]></copyright><item><title><![CDATA[Makefile二次展开 和 escape the variable or function reference]]></title><link>https://blog.youkuaiyun.com/luozhenger/article/details/106871284</link><guid>https://blog.youkuaiyun.com/luozhenger/article/details/106871284</guid><author>luozhenger</author><pubDate>Sat, 20 Jun 2020 14:17:49 +0800</pubDate><description><![CDATA[在很多博客和pdf文档中看到有人将Makefile的二次展开(secondary expansion)跟 Makefile 的 escape variable or function reference 弄混淆了，由此记录下，根据官方手册，跟大家解释清楚二者的区别。]]></description><category></category></item><item><title><![CDATA[Makefile文件获取自己的路径]]></title><link>https://blog.youkuaiyun.com/luozhenger/article/details/106870551</link><guid>https://blog.youkuaiyun.com/luozhenger/article/details/106870551</guid><author>luozhenger</author><pubDate>Sat, 20 Jun 2020 13:06:27 +0800</pubDate><description><![CDATA[获取文件当前的路径对很多操作会是一件非常便利的事情。

Makefile 文件获取自己的路径(gnu make)

 在Makefile文件中利用make的builtin variables, builtin functions 获取它自己的路径


THIS_DIR:= \
$(abspath $(dir $(word $(words $(MAKEFILE_LIST)),$(MAKEFILE_LIST))))

MAKEFILE_LIST
 MAKEFILE_LIST 是 GNU make 的一个...]]></description><category></category></item></channel></rss>