TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

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

7 pointsby joshi4over 7 years ago

1 comment

joshi4over 7 years ago
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