Reputation:
I would like to know how to makefile for Unix.
Upvotes: 3
Views: 659
Reputation: 37103
Because (g)make has many non-intuitive aspects, e.g. its backward chaining, I'd highly recommend having a look at Robert Mecklenburg's book Managing Projects with GNU Make.
Or even better is Andrew Talbot's Managing Projects with Make (second edition), which I feel has the better introduction to make. (IMHO naturally).
Upvotes: 3
Reputation: 1587
Here's a good Makefile Tutorial (first result on Google after searching "how to create a makefile").
Upvotes: 5
Reputation: 7021
I have compiled some notes here: http://ustunozgur.blogspot.com/2008/04/sample-makefile.html
Upvotes: 1
Reputation: 42178
can check out documentation on automake (which most unix-y projects use) as well
Upvotes: 0
Reputation: 58637
Run make. ;)
Though you'd be better served by reading the make documentation. Do this by typing 'man make' from the command line. It should be enough to get you started and confused, at which point a Google search will help a lot.
Upvotes: 1