<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kaityo</author_name>
  <author_url>https://blog.hatena.ne.jp/kaityo/</author_url>
  <blog_title>kaityoの日記</blog_title>
  <blog_url>https://kaityo.hatenadiary.org/</blog_url>
  <categories>
    <anon>C++</anon>
  </categories>
  <description>ずっとmakefileでわからなかったことがあったのだが、今日まじめに調べてようやく分かった。 makefileでソースの依存関係をいちいち手書きするのが面倒なので、 SRC=$(shell ls *.cc) dep: g++ -MM -MG $(SRC) &gt;makefile.depend というルールを作っておき、makefileの最後で -include makefile.depend としておく。こうすると $ make dep とやればmakefile.dependができる。さて、makefile.dependが古かったり存在しなかったりした場合に自動的に作りたくて、 SRC=$(sh…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkaityo.hatenadiary.org%2Fentry%2F20091118%2F1258551090&quot; title=&quot;GNU makeとinclude - kaityoの日記&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2009-11-18 22:31:30</published>
  <title>GNU makeとinclude</title>
  <type>rich</type>
  <url>https://kaityo.hatenadiary.org/entry/20091118/1258551090</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
