{"path": "/posts/i-love-makefiles/", "title": "I love makefiles · Bruno Dias", "html": "<!doctype html>\n<html lang=\"en\">\n<head>\n  <meta charset=\"utf-8\">\n  <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">\n  <meta name=\"description\" content=\"I love makefiles\">\n  <title>I love makefiles · Bruno Dias</title>\n  <link rel=\"canonical\" href=\"https://diasbruno.github.io/posts/i-love-makefiles/\" data-post-metadata>\n  <meta name=\"author\" content=\"Bruno Dias\" data-post-metadata>\n  <meta property=\"og:type\" content=\"article\" data-post-metadata>\n  <meta property=\"og:title\" content=\"I love makefiles\" data-post-metadata>\n  <meta property=\"og:url\" content=\"https://diasbruno.github.io/posts/i-love-makefiles/\" data-post-metadata>\n  <meta property=\"article:published_time\" content=\"2020-03-21T15:00:00Z\" data-post-metadata>\n  <link rel=\"icon\" href=\"/assets/site/signature.svg\" type=\"image/svg+xml\">\n  <link rel=\"alternate\" type=\"application/atom+xml\" title=\"diasbruno\" href=\"/atom.xml\">\n  <link rel=\"alternate\" type=\"application/json\" href=\"/posts/i-love-makefiles/content.json\">\n  <link rel=\"stylesheet\" href=\"/assets/site/tokens.css\">\n  <link rel=\"stylesheet\" href=\"/assets/site/site.css\">\n  <link rel=\"stylesheet\" href=\"/assets/site/footer.css\">\n\n</head>\n<body class=\"light\">\n<div id=\"site-page\">\n<a class=\"skip-link\" href=\"#content\">Skip to content</a>\n<header class=\"site-header\">\n  <a class=\"brand\" href=\"/\" data-site-navigation aria-label=\"Bruno Dias, home\">\n    <img src=\"/assets/site/signature.svg\" width=\"24\" height=\"34\" alt=\"\">\n  </a>\n  <nav aria-label=\"Main navigation\">\n    <ul>\n<li><a class=\"nav-vrn\" href=\"/vrn/\" data-site-navigation><span class=\"nav-label\">vrn</span> <span class=\"nav-badge\">research</span></a></li>\n<li><a class=\"nav-posts\" href=\"/posts/\" data-site-navigation aria-current=\"location\">Posts</a></li>\n<li><a class=\"nav-projects\" href=\"/projects/\" data-site-navigation>Projects</a></li>\n<li><a class=\"nav-about\" href=\"/about/\" data-site-navigation>About</a></li>\n</ul>\n  </nav>\n</header>\n\n<main class=\"section\" id=\"content\" tabindex=\"-1\">\n  <article class=\"post-detail\">\n    <header class=\"section-header\">\n      <p class=\"post-category\">Post</p>\n      <h1>I love makefiles</h1>\n\n      <p><time datetime=\"2020-03-21T15:00:00Z\">2020-03-21</time></p>\n    </header>\n    <div class=\"post-columns\">\n      <section class=\"post-body\" aria-label=\"Article\">\n\n<p>Why aren't we using old stuff?\nIs it just because it is...old?</p>\n<p><code>make</code> is great and we should use it more!</p>\n<p>We are not going to talk in details about\n<code>make</code> (there are a lot of good articles\nto read already), but to encorage\nits adoption to help make our lives easier.</p>\n<p>Let me give you a scenario...</p>\n<pre><code class=\"language-sh\">cd a_project\nmake\nsudo make install\n</code></pre>\n<p>Did we just build and installed on our system\na <code>python</code> project? Or it was a <code>javascript</code> one?\nMaybe it was a <code>C++</code> project that uses <code>CMake</code>...</p>\n<p>This is <code>make</code>'s specialty...to execute tasks!</p>\n<p>What are the benefits:</p>\n<ul>\n<li>Now, we don't need to remember those long commands (<code>make docker-run</code>)</li>\n<li>Anyone can build, install and run the project</li>\n<li>You can use it to write an entire pipeline to generate\nchangelogs, update versions, tagging,\nwithout knowing which tools it uses under the hood.</li>\n</ul>\n\n      </section>\n      <aside class=\"post-links\" aria-labelledby=\"post-links-heading\">\n        <h2 id=\"post-links-heading\">Links</h2>\n        <ul>\n<li><a href=\"/posts/\" data-site-navigation>All posts</a></li>\n        </ul>\n      </aside>\n    </div>\n  </article>\n</main>\n\n<footer class=\"site-footer\">\n  <div class=\"site-footer-inner\">\n    <a class=\"site-footer-home\" href=\"/\" data-site-navigation>Bruno Dias</a>\n    <ul aria-label=\"Footer links\">\n      <li><a href=\"https://github.com/diasbruno\">GitHub</a></li>\n      <li><a href=\"/atom.xml\">Atom feed</a></li>\n    </ul>\n  </div>\n</footer>\n\n</div>\n<script type=\"module\" src=\"/assets/site/navigation.js\"></script>\n</body>\n</html>\n"}
