Makefile Help

If you have any questions on programming, this is the place to ask them, whether you're a newbie or an experienced programmer. Discussion on programming in general is also welcome. We will help you with programming homework, but we will not do your work for you! Any porting requests must be made in Developmental Ideas.
Post Reply
Dreamcastfreak2004
DCEmu Newbie
DCEmu Newbie
Posts: 3
Joined: Mon Aug 30, 2021 6:42 pm
Has liked: 0
Been liked: 0

Makefile Help

Post by Dreamcastfreak2004 » Mon Aug 30, 2021 6:47 pm

Hey Y’all, so I have installed DreamSDK on my laptop and I know that uses kallistos but then I can’t create a makefile to compile a program but then I need that to generate files to convert the files to a cdi format so idk what to do so can you help me please!
User avatar
RyoDC
Mental DCEmu
Mental DCEmu
Posts: 362
Joined: Wed Mar 30, 2011 12:13 pm
Has liked: 0
Been liked: 0

Re: Makefile Help

Post by RyoDC » Fri Sep 03, 2021 9:03 am

What exactly do you need help with?

Creating a makefile or you need help converting your binary into cdi format?
How do I try to build a Dreamcast toolchain:
Image
Dreamcastfreak2004
DCEmu Newbie
DCEmu Newbie
Posts: 3
Joined: Mon Aug 30, 2021 6:42 pm
Has liked: 0
Been liked: 0

Re: Makefile Help

Post by Dreamcastfreak2004 » Tue Sep 07, 2021 10:14 am

I need help with creating a makefile.
User avatar
RyoDC
Mental DCEmu
Mental DCEmu
Posts: 362
Joined: Wed Mar 30, 2011 12:13 pm
Has liked: 0
Been liked: 0

Re: Makefile Help

Post by RyoDC » Tue Sep 07, 2021 10:56 am

You just copy a template and fill it with your values.

You have targets here and source files, target is the thing that is being built, and sources are the thing that target consists of.

Try this https://makefiletutorial.com/#getting-started
How do I try to build a Dreamcast toolchain:
Image
Dreamcastfreak2004
DCEmu Newbie
DCEmu Newbie
Posts: 3
Joined: Mon Aug 30, 2021 6:42 pm
Has liked: 0
Been liked: 0

Re: Makefile Help

Post by Dreamcastfreak2004 » Thu Sep 09, 2021 5:31 pm

Now when I try to compile a program from a makefile it does not work! So can you help me please!
User avatar
RyoDC
Mental DCEmu
Mental DCEmu
Posts: 362
Joined: Wed Mar 30, 2011 12:13 pm
Has liked: 0
Been liked: 0

Re: Makefile Help

Post by RyoDC » Tue Sep 14, 2021 12:14 pm

Yes I can help, could you be more specific?
What have you tried, what's in your makefile, can you attach your entire program and copy-paste the console window output?
How do I try to build a Dreamcast toolchain:
Image
Post Reply