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 Fast Newbie
DCEmu Fast Newbie
Posts: 19
https://www.artistsworkshop.eu/meble-kuchenne-na-wymiar-warszawa-gdzie-zamowic/
Joined: Mon Aug 30, 2021 6:42 pm
Has thanked: 0
Been thanked: 0

Makefile Help

Post by Dreamcastfreak2004 »

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: 366
Joined: Wed Mar 30, 2011 12:13 pm
Has thanked: 2 times
Been thanked: 0

Re: Makefile Help

Post by RyoDC »

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 Fast Newbie
DCEmu Fast Newbie
Posts: 19
Joined: Mon Aug 30, 2021 6:42 pm
Has thanked: 0
Been thanked: 0

Re: Makefile Help

Post by Dreamcastfreak2004 »

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

Re: Makefile Help

Post by RyoDC »

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 Fast Newbie
DCEmu Fast Newbie
Posts: 19
Joined: Mon Aug 30, 2021 6:42 pm
Has thanked: 0
Been thanked: 0

Re: Makefile Help

Post by Dreamcastfreak2004 »

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: 366
Joined: Wed Mar 30, 2011 12:13 pm
Has thanked: 2 times
Been thanked: 0

Re: Makefile Help

Post by RyoDC »

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