I just installed sdl on my mac osx from the command line using
./config, make, and make install. No problems. All of the include files
and friends are where they should be in usr/local/lib. However I don’t
know how to use the makefiles provided. I have always just used one
plain Makefile when using tool kits like this. The accompanying
makefiles are .am and .in. They are also extremely long and I don’t
think I should need them for my own projects. The documentation on
actually getting SDL to compile with your code is nonexistent. Can
someone please send me or point me to a sample makefile I would need to
use SDL in my code? I would really appreciate it. Also I have no idea
what config files I need in my code’s directory. Is there a place I can
find out all of this stuff? I only see explanations on using SDL
functions in the documentation. Not info on compiling and requisite
files. I would really appreciate some feedback.
Thanks.
I just installed sdl on my mac osx from the command line using
./config, make, and make install. No problems. All of the include files
and friends are where they should be in usr/local/lib. However I don’t
know how to use the makefiles provided. I have always just used one
plain Makefile when using tool kits like this. The accompanying
makefiles are .am and .in. They are also extremely long and I don’t
think I should need them for my own projects. The documentation on
actually getting SDL to compile with your code is nonexistent. Can
someone please send me or point me to a sample makefile I would need to
use SDL in my code? I would really appreciate it. Also I have no idea
what config files I need in my code’s directory. Is there a place I can
find out all of this stuff? I only see explanations on using SDL
functions in the documentation. Not info on compiling and requisite
files. I would really appreciate some feedback.
There’s a section on using SDL in various environments in the FAQ.
Is there something in particular that needs to be more clear?
See ya,
-Sam Lantinga, Software Engineer, Blizzard Entertainment