.:: Bots United ::.

.:: Bots United ::. (http://forums.bots-united.com/index.php)
-   Releases, Installers, Docs & Coding (http://forums.bots-united.com/forumdisplay.php?f=48)
-   -   Makefile (http://forums.bots-united.com/showthread.php?t=1756)

[NvT]_KaszpiR_ 24-05-2004 09:42

Makefile
 
1 Attachment(s)
here is the makefile i wrote, works on linux and windows , detects the operating ssytem an changes some things

read , edit, make backup, rename to Makefile

i bet it can be tweaked in a better way, but i wanted to keep it easy

also good to read and browse
http://gcc.gnu.org/onlinedocs/gcc-3....4-Options.html

http://gcc.gnu.org/onlinedocs/

http://reviewed.homelinux.org/howtos/compiling/

i hope that helps at least compiling versions for linux users

Pierre-Marie Baty 24-05-2004 12:22

Re: Makefile
 
Good thing. :)
But I don't advise changing ARCHFLAG and CPUFLAG for a running DLL under Linux. The way the dynamic linker works requires that the bot DLL have the same architecture and CPU settings than the rest of the game libraries, i.e, i386. Else the bot DLL will fail to load.

[NvT]_KaszpiR_ 24-05-2004 14:54

Re: Makefile
 
okay, only experienced users should experiments with this, otherwise leave i386

i use hlds_amd and k6 optimized pb, botta recompile all plugins sources to that if i will get sources :D


ahs one thing, very important,
the resulitng binary file needs to be renamed, i just added so much thigs cause i was experimenting with many binariaes and compiled versions to get best performance - thus required easier distinguish method of that files (easier to make the 'make' name the file than later rename it and symlink to it)


All times are GMT +2. The time now is 15:38.

Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.