.:: Bots United ::.  
filebase forums discord server github wiki web
cubebot epodbot fritzbot gravebot grogbot hpbbot ivpbot jkbotti joebot
meanmod podbotmm racc rcbot realbot sandbot shrikebot soulfathermaps yapb

Go Back   .:: Bots United ::. > Cyborg Factory > POD-Bot mm > Releases, Installers, Docs & Coding
Releases, Installers, Docs & Coding Where the official development happens

Reply
 
Thread Tools
Makefile
Old
  (#1)
[NvT]_KaszpiR_
Member
 
[NvT]_KaszpiR_'s Avatar
 
Status: Offline
Posts: 322
Join Date: Apr 2004
Default Makefile - 24-05-2004

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
Attached Files
File Type: txt Makefile.txt (2.7 KB, 438 views)

Last edited by [NvT]_KaszpiR_; 24-05-2004 at 10:58..
  
Reply With Quote
Re: Makefile
Old
  (#2)
Pierre-Marie Baty
Roi de France
 
Pierre-Marie Baty's Avatar
 
Status: Offline
Posts: 5,049
Join Date: Nov 2003
Location: 46°43'60N 0°43'0W 0.187A
Default Re: Makefile - 24-05-2004

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.



RACC home - Bots-United: beer, babies & bots (especially the latter)
"Learn to think by yourself, else others will do it for you."
  
Reply With Quote
Re: Makefile
Old
  (#3)
[NvT]_KaszpiR_
Member
 
[NvT]_KaszpiR_'s Avatar
 
Status: Offline
Posts: 322
Join Date: Apr 2004
Default Re: Makefile - 24-05-2004

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


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)

Last edited by [NvT]_KaszpiR_; 24-05-2004 at 15:56..
  
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
vBulletin Skin developed by: vBStyles.com