{"url":"https://boxnos.hatenablog.com/entry/20070513/1179008641","width":"100%","type":"rich","height":"190","author_name":"tanakaBox","blog_title":"\u30dc\u30af\u30ce\u30b9","description":"Ruby\u306bmake\u304c\u3042\u3063\u305f\u3089\u9762\u767d\u3044\u3093\u3058\u3083\u306a\u3044\u304b\u3068\u8a00\u3046\u767a\u60f3\u3002 make(\"index.html\", $0, \"wiki.db\") do # HTML\u751f\u6210 end \u6587\u6cd5\u304c\u305d\u3063\u304f\u308a\u306b\u3067\u304d\u305d\u3046\u3002\u6b8b\u5ff5\u306a\u304c\u3089\u3001\u591a\u91cd\u306e\u4f9d\u5b58\u95a2\u4fc2\u306f\u7121\u3044\u3002 module Make module_function # make\u304c\u5fc5\u8981\u304b\u3069\u3046\u304b\u5224\u65ad\u3059\u308b # true \u5fc5\u8981 def make?(target, *prereq) return true unless File.exist?(target) # target\u304c\u5b58\u5728\u3057\u306a\u3044 return true if prereq.length.zero? # \u4f9d\u5b58\u30d5\u30a1\u30a4\u30eb\u304c\u7121\u3044 targe\u2026","image_url":null,"version":"1.0","categories":["Ruby","make","awk"],"published":"2007-05-13 07:24:01","provider_name":"Hatena Blog","title":" Ruby\u3067make","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fboxnos.hatenablog.com%2Fentry%2F20070513%2F1179008641\" title=\" Ruby\u3067make - \u30dc\u30af\u30ce\u30b9\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","author_url":"https://blog.hatena.ne.jp/tanakaBox/","provider_url":"https://hatena.blog","blog_url":"https://boxnos.hatenablog.com/"}