That Makefile should work for any C program. It will work also under Windows, provided that you have make.exe.
Well, it seemed to work (it did not complain of the arguments) but I don't know how to include c files from subdirectories (such as pyrrhic and incbin), also how to make it include h files from those two folders.
I guess I will have to learn how to construct a makefile.
That Makefile should work for any C program. It will work also under Windows, provided that you have make.exe.
Well, it seemed to work (it did not complain of the arguments) but I don't know how to include c files from subdirectories (such as pyrrhic and incbin), also how to make it include h files from those two folders.
I guess I will have to learn how to construct a makefile.
You can add your own options to the CFLAGS variable.
Generally you should always use the shell which comes with your compiler, for several reasons.
If you want to try AI generated code, head over to e.g. https://claude.ai/new, make a free account and tell it your problem. It believe it's a perfect fit for you.