I change the original makefile to build in my Linux machine. But, the original makefile has some limitations like no dependencies support, it removes all the objects files when building debug and release targets and, it was wrote for Windows only. I then decided to make some improvements.
So, I would like to contribute for the project with this new build system that I'm using.
Features:
- Linux,Windows and MacOS configurations
- Automated dependencies
- Using sub-folders for object files
- GProf support
- Using sdl-config when possible
- Added 'make help'
Note 2: In the patch that I'm posting, there are fixes in the code to compile for Linux.
Note 3: The patch is based on the branch called rev-beta5, svn revision 108.
How to test:
Download the patch and unzip it
Go to the emulator directory
Apply the patch using the "patch" tool. E.g: patch -p0 -i /tmp/build_patch_rev108.diff
Type make to build or make help for more information
Hope you enjoy it and I'm looking forward for feedbacks.
-Filipe Rinaldi.
