Makefiles, BeOS

I was wondering if anyone had a Makefile template for use with SDL?
I haven’t generated my own Makefiles in quite some time; I’ve had
success building under SDL 0.10, but I can’t seem to get it right
with 1.0.0. I’ve installed SDL 1.0.0 using the BeOS install,
and the libraries and headers seem to be in the proper places
on my system.

I was hoping that someone could post a Makefile template that
can get me up to speed quickly, rather than wading through
the docs on autoconf/automake (which I’ll have to learn anyways).

Thanks in advance,

Robin Sam
rsam at ezlink.com

Okay, so apparently it’s not my makefile that’s the problem…

The problem I am getting is that, when I try to run my program (
for example, the stars demo), I get the error

./stars: Missing Library

I just read in the new SDL BeOS FAQ that I need to

(cd /; patch -p1 </boot/home/beos-sdl.diff)

in order to get my stuff to run.

Is this why I’m getting the above error?

I’ll test it later tonight to see if it works.

Thanks,
RobinOn Tue, 7 Dec 1999, Robin Sam wrote:

I was wondering if anyone had a Makefile template for use with SDL?
I haven’t generated my own Makefiles in quite some time; I’ve had
success building under SDL 0.10, but I can’t seem to get it right
with 1.0.0. I’ve installed SDL 1.0.0 using the BeOS install,
and the libraries and headers seem to be in the proper places
on my system.

I was hoping that someone could post a Makefile template that
can get me up to speed quickly, rather than wading through
the docs on autoconf/automake (which I’ll have to learn anyways).

Thanks in advance,

Robin Sam
rsam at ezlink.com

Okay, so apparently it’s not my makefile that’s the problem…

The problem I am getting is that, when I try to run my program (
for example, the stars demo), I get the error

./stars: Missing Library

I just read in the new SDL BeOS FAQ that I need to

(cd /; patch -p1 </boot/home/beos-sdl.diff)

in order to get my stuff to run.

Is this why I’m getting the above error?

Yup! :slight_smile:

-Sam Lantinga				(slouken at devolution.com)

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