drojaazu / sgdk_nix

Makefiles and instructions for using SGDK in *nix environments
MIT License
29 stars 5 forks source link

Changes for work with latest SGDK #5

Closed kentosama closed 4 years ago

kentosama commented 4 years ago

Hi, I suggest various improvements, the first of which is to make makefiles compatible with the latest version of SGDK. This new version saves size in ROM (~ 100KB).

So I adapted the makefiles to make it work. An "env" file has been created to allow the script to find the Motorolla 68000 compiler and the plugins directory.

I added the number of CPUs in the makefiles to speed up the build project and library.

I added the "run" command to launch the emulator after build.

I added the SIZEBND tool in order to have a correct padding of the ROM.

I also modified the makefile in order to compile all the source files located in subdirectories.

You don't have to add all of these improvements, but compatibility with the new version of SGDK could be useful :)

drojaazu commented 4 years ago

Hi @kentosama , I have updated the main SGDK project to work with the newest SGDK, based largely on suggestions you made here. Please have a look and give it a try and we can come back to this discussion if anything isn't working for you. Thanks!

kentosama commented 4 years ago

Hi @kentosama , I have updated the main SGDK project to work with the newest SGDK, based largely on suggestions you made here. Please have a look and give it a try and we can come back to this discussion if anything isn't working for you. Thanks!

Very good work! Thanks a lot for this update!