Not rebuilding correctly?

After changing a file, in this case SDL_x11modes.c, and rerunning
make, the main libs don’t get rebuild. Missing dependencies?–
[ Below is a random fortune, which is unrelated to the above message. ]
When Dexter’s on the Internet, can Hell be far behind?"

After changing a file, in this case SDL_x11modes.c, and rerunning
make, the main libs don’t get rebuild. Missing dependencies?

Yep, automake doesn’t know that the .la files depend on the .c files.

Here’s what I do:
rm -v find . -name '*.la' ; make

-Sam Lantinga				(slouken at devolution.com)

Lead Programmer, Loki Entertainment Software–
“Any sufficiently advanced bug is indistinguishable from a feature”
– Rich Kulawiec

Sam Lantinga writes:

After changing a file, in this case SDL_x11modes.c, and rerunning
make, the main libs don’t get rebuild. Missing dependencies?

Yep, automake doesn’t know that the .la files depend on the .c files.

Duh. :slight_smile: Is it fixable? I never used automake.

Here’s what I do:
rm -v find . -name '*.la' ; make

Or in zsh:

rm **/*.la ; make

That’s what I ended up doing.–
[ Below is a random fortune, which is unrelated to the above message. ]
It isn’t necessary to have relatives in Kansas City in order to be
unhappy.
– Groucho Marx