| View previous topic :: View next topic |
| Author |
Message |
boman666
Joined: 30 Jan 2004 Posts: 33 Location: Hell
|
Posted: Wed Feb 04, 2004 6:51 am Post subject: Makefile Tool |
|
|
| 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 |
|
 |
pixel
Joined: 30 Jan 2004 Posts: 791
|
Posted: Wed Feb 04, 2004 7:04 am Post subject: |
|
|
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 |
|
 |
boman666
Joined: 30 Jan 2004 Posts: 33 Location: Hell
|
Posted: Wed Feb 04, 2004 8:41 am Post subject: |
|
|
| :-)... I'm refering to a tool for creating/managing the makefiles. Or do you do it manually? |
|
| Back to top |
|
 |
pixel
Joined: 30 Jan 2004 Posts: 791
|
Posted: Wed Feb 04, 2004 8:56 am Post subject: |
|
|
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 |
|
 |
ooPo Site Admin
Joined: 17 Jan 2004 Posts: 2032 Location: Canada
|
|
| Back to top |
|
 |
Drakonite Site Admin

Joined: 17 Jan 2004 Posts: 989
|
Posted: Wed Feb 04, 2004 9:43 am Post subject: |
|
|
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 |
|
 |
boman666
Joined: 30 Jan 2004 Posts: 33 Location: Hell
|
Posted: Wed Feb 04, 2004 10:44 am Post subject: |
|
|
| 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 |
|
 |
pixel
Joined: 30 Jan 2004 Posts: 791
|
Posted: Wed Feb 04, 2004 12:07 pm Post subject: |
|
|
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 |
|
 |
mrbrown
Joined: 17 Jan 2004 Posts: 1536
|
Posted: Thu Feb 05, 2004 5:24 am Post subject: |
|
|
| 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 |
|
 |
|