Re: integrating make and git
- From
John Bito <jwbito@gmail.com>
- Date
- Apr 15, 2009, 21:34 UTC
- Message-ID
- <3ae83b000904151434t5c3c85ebvec391ec29981ff79@mail.gmail.com>
- In-Reply-To
- <alpine.LNX.1.00.0904151654330.10753@iabervon.org>
If you're not already using make for a project, think before you start. If you're building something that will go into distribution in source form, you probably should need to use it (via automake & autoconf). For the stuff that I'm doing in a more focused environment, I use boost-build/bjam (http://www.boost.org/users/download/boost_jam_3_1_17). This provides very clean organization of release/debug builds as well as a much more expressive language than make.
It's easy to create makefiles that are quite brittle and the plumbing to establish portable builds is really complex. I was away from make working on Java & Ruby for almost ten years. Though I have more than 10 years of experience with make, I'm very happy to have replaced gobs of makefile code with the boost-build package and a few, short Jamfiles.
YMMV John