By the way, there seems to be a problem with the automatic
dependencies: when changing SDL_sysvideo.h doesn’t seem to rebuild
anything. Somehow, I doubt nothing includes that. 
Why not use gcc’s -M option? Lots of systems use configure+make but
not gcc? I recommend keeping with just -M rather than the other
variants, then running sed on the output to fix it up. They changed
the behaviour of some of these options in various versions of gcc, but
-M has pretty much always been the way it is.
I’m not thrilled by the dependencies being generated once at the
start, I did it like that in Quadra, but that was 10 years ago. 
Not having to worry about redoing the dependencies is quite welcome!
Maybe try out Quagmire, that’s what I did for Quadra (it’s done by Tom
Tromey, the maintainer of automake, who knows GNU make very well, and
is quite aware of automake’s shortcomings). It’s not under heavy
development, but it does out-of-tree builds (useful to keep the object
files apart and have builds with different options), the dist stuff,
and a few other things. They’re also quite receptive on improvements,
if something annoys you, just throw them a patch! Since it’s embedded
in your package, you don’t have to wait for them to do anything,
anyway…–
http://pphaneuf.livejournal.com/
That is a very useful feature. I hate having to clone project
directories just to maintain two separate builds!On Sun, Jan 18, 2009 at 10:00 PM, Pierre Phaneuf wrote:
it does out-of-tree builds (useful to keep the object
files apart and have builds with different options), the dist stuff,
and a few other things.
–
http://codebad.com/
it does out-of-tree builds (useful to keep the object
files apart and have builds with different options), the dist stuff,
and a few other things.
That is a very useful feature. I hate having to clone project
directories just to maintain two separate builds!
I was going to say that SDL 1.2 could do it, but I was under the
impression that 1.2 used automake (which gives you this feature).
Turns out it doesn’t, actually, oops.On Sun, Jan 18, 2009 at 11:00 PM, Donny Viszneki <donny.viszneki at gmail.com> wrote:
–
http://pphaneuf.livejournal.com/
it does out-of-tree builds (useful to keep the object
files apart and have builds with different options), the dist stuff,
and a few other things.
That is a very useful feature. I hate having to clone project
directories just to maintain two separate builds!
I was going to say that SDL 1.2 could do it, but I was under the
impression that 1.2 used automake (which gives you this feature).
Turns out it doesn’t, actually, oops.
I didn’t know automake had this as a “free move.” I’ll have to check it out–
http://codebad.com/