Commit Graph

13 Commits

Author SHA1 Message Date
theonlyzac
627275f60b
Decomp various functions 2023-12-15 01:28:21 -05:00
Zac
1166a77498
Add __DEBUG define for debug builds 2023-12-15 01:14:16 +00:00
Zac
3c3d1bf0c2
Fix libs in makefile 2023-12-08 08:01:57 +00:00
Zac
d3ab595bdc
Update makefile paths 2023-12-08 05:50:20 +00:00
modeco80
f2220fb604 build: Output products into object and binary directories
Objects and binaries are now put in neat bin/ and obj/ directories matching the build configuration. This also means that a release and debug build are allowed to coexist, since they won't overwrite files related to each other.

This also thins out the gitignore, and removes build/ from it since it is now a valid directory (where we put the Make buildsystem files).
2023-12-05 01:55:41 -05:00
modeco80
2995c1c6e4 Makefile: Remove stray -g (oops!) 2023-12-04 22:53:10 -05:00
modeco80
50a20af443 build: Split Makefile build system into multiple files
This commit makes a new build/ folder which contains auxiliary
Makefiles that are used to assist the build.

In theory, later on, (hinted by the documentation of build/core.mk),
it may be possible to even add IOP target support, but for now, I have
not yet added this to the buildsystem. It should be relatively easy, however.
2023-12-04 21:23:23 -05:00
modeco80
d65456e660 Switch linker script to app.cmd
ProDG documentation implies `relapp.cmd` is intended to be used if
the executable in question uses SN's REL system for dynamically linked
libraries. I don't think this is used, so switch to the standard SCE `app.cmd`.
2023-12-04 00:23:33 -05:00
modeco80
ce6a2fd3d1 PS2 build system working
I also added some untested attempt at also allowing windows hosted builds.

For some reason I couldn't get it to play nice with a "loose" prodg install,
I could only get everything to work after I installed prodg proper
2023-12-03 20:45:41 -05:00
Zac
7c0ef2ce53
Fix makefile paths for windows 2023-12-03 17:44:53 +00:00
Zac
28b38c6a70
Update makefile 2023-12-03 17:43:01 +00:00
Zac
b5b75fc524
Update makefile paths 2023-12-03 00:54:50 +00:00
Zac
0df0fe0b7a
Refactor for ee-gcc compiler 2023-12-03 00:42:35 +00:00