forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Makefile Tool

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PS2 Development
View previous topic :: View next topic  
Author Message
boman666



Joined: 30 Jan 2004
Posts: 33
Location: Hell

PostPosted: Wed Feb 04, 2004 6:51 am    Post subject: Makefile Tool Reply with quote

Since my experience with Linux and GNU is very limited, it has bacome painfully obvious to me that I need some kind of makefile tool. Which one(s) do you recommend?
Back to top
View user's profile Send private message
pixel



Joined: 30 Jan 2004
Posts: 791

PostPosted: Wed Feb 04, 2004 7:04 am    Post subject: Reply with quote

Errr....

"make" ? :-)
_________________
pixel: A mischievous magical spirit associated with screen displays. The computer industry has frequently borrowed from mythology. Witness the sprites in computer graphics, the demons in artificial intelligence and the trolls in the marketing department.
Back to top
View user's profile Send private message
boman666



Joined: 30 Jan 2004
Posts: 33
Location: Hell

PostPosted: Wed Feb 04, 2004 8:41 am    Post subject: Reply with quote

:-)... I'm refering to a tool for creating/managing the makefiles. Or do you do it manually?
Back to top
View user's profile Send private message
pixel



Joined: 30 Jan 2004
Posts: 791

PostPosted: Wed Feb 04, 2004 8:56 am    Post subject: Reply with quote

For "big sized" projects, one could use the automake/autoconf system. But I don't think this suit PS2 projects at all. Yes, do them by hand. It's not that hard :)
_________________
pixel: A mischievous magical spirit associated with screen displays. The computer industry has frequently borrowed from mythology. Witness the sprites in computer graphics, the demons in artificial intelligence and the trolls in the marketing department.
Back to top
View user's profile Send private message
ooPo
Site Admin


Joined: 17 Jan 2004
Posts: 2032
Location: Canada

PostPosted: Wed Feb 04, 2004 9:25 am    Post subject: Reply with quote

A quick look on google for 'makefile tutorial' brought up this link:

http://www.opussoftware.com/tutorial/TutMakefile.htm

Google is your friend! :)
Back to top
View user's profile Send private message Visit poster's website
Drakonite
Site Admin


Joined: 17 Jan 2004
Posts: 989

PostPosted: Wed Feb 04, 2004 9:43 am    Post subject: Reply with quote

When creating your own projects, you can usually use one of the makefiles from one of the example programs with a bit of minor changes.
_________________
Shoot Pixels Not People!
Makeshift Development
Back to top
View user's profile Send private message Visit poster's website
boman666



Joined: 30 Jan 2004
Posts: 33
Location: Hell

PostPosted: Wed Feb 04, 2004 10:44 am    Post subject: Reply with quote

The project I'm about to move to the PS2 is ~1500 files big, divided in 22 sub-projects. I'd rather spend my time, if possible, on other things than editing and learning makefile syntax. Maybe I can get VC++ to create the makefiles for me. I'll have to look into that.
Back to top
View user's profile Send private message
pixel



Joined: 30 Jan 2004
Posts: 791

PostPosted: Wed Feb 04, 2004 12:07 pm    Post subject: Reply with quote

Well... depending on the situation of course. But even there, you might find easier to write them by hand.

In all cases, I think you'll have more problems about size than anything else. I'm not sure, but, I don't think that compiling 1500 source files into one single monolith elf file would give you good results...

And if you just feel unsure with Makefiles right now, you'd better write batch files. But you can read ps2lib's Makefiles (or other simplier projects like ps2hid or ps2ftp) in order to get a general idea on how you should proceed.

Forget M$VC. It won't give you any good for that point.
_________________
pixel: A mischievous magical spirit associated with screen displays. The computer industry has frequently borrowed from mythology. Witness the sprites in computer graphics, the demons in artificial intelligence and the trolls in the marketing department.
Back to top
View user's profile Send private message
mrbrown



Joined: 17 Jan 2004
Posts: 1536

PostPosted: Thu Feb 05, 2004 5:24 am    Post subject: Reply with quote

pixel wrote:
For "big sized" projects, one could use the automake/autoconf system. But I don't think this suit PS2 projects at all. Yes, do them by hand. It's not that hard :)


I have a few unreleased PS2 projects that use autoconf/automake. When TGE gets rolling, it'll also be using autotools. Once you get around the macros to find ps2lib, etc. and the cross-compilers, using auto* for PS2 projects is extremely easy.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PS2 Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group