TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Show HN: Gmake – A thin wrapper around make that finds makefiles for you

7 点作者 joshi4超过 7 年前

1 comment

joshi4超过 7 年前
The most common mistake I make while using make ( no pun intended ) is to invoke the command from a child directory where no Makefile is present.<p>I wrote gmake to solve that pain point.<p>Why not simply use the -C flag that is built into make ?<p>make provides a -C flag which accepts the path to the make file but that defeats the purpose as it is more effort&#x2F;time consuming to type it out.<p>Using your bash history does reduce the pain of repeating the -C flag, however, that fails when you have to switch amongst different repos&#x2F;makefiles quite frequently.<p>Infact, using gmake will make it possible to use your bash history more consistently as gmake test or gmake build are common enough and the -C flag is abstracted away