On Thu, Sep 16, 2010 at 5:52 PM, Ralph Versteegen <[email protected]> wrote:
> On 16 September 2010 20:01, David Gowers <[email protected]> wrote:
>> This is going a little slower than I thought.
>
> Should have figured; the Makefile took me a whole evening :)
I've got it in a reasonable state now.
Stick the above two files in the OHRRPGCE dir
and run "scons" (assuming you have it installed)

For some reason I haven't been able to decipher, it doesn't link,though.
It will build all the .o files and then claims that it can't find the
main() function (despite the -m game option, and game being included
in the linking list)
. Ditto for custom.

>> fbc -lang deprecated -c reloadext.bas -mt -g -exx
>> fbc -lang deprecated -c slices.bas -mt -g -exx
>> ar rc libohrcommon.a blit.o base64.o gfx_sdl.o gfx_fb.o gfx_sdl.o
>> allmodex.o backends.o lumpfile.o compat.o bam2mid.o common.o browse.o
>> util.o loading.o reload.o reloadext.o slices.o
>> ranlib libohrcommon.a
>
> Read the Makefile very careful: files needs to be compiled with either
> -d IS_GAME or -d IS_CUSTOM, although of all the common modules, only
> $(semicommon_sources) actually depend on these defines and need
> rebuilding.

Yeah, I noticed that.
Fixed.

Attachment: SConscript
Description: Binary data

Attachment: SConstruct
Description: Binary data

_______________________________________________
Ohrrpgce mailing list
[email protected]
http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org

Reply via email to