New Build System for the Emulator

The Uzebox now have a fully functional emulator! Download and discuss it here.

New Build System for the Emulator

Postby filipe » Fri Jan 01, 2010 6:26 pm

Happy new year guys!!!

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 1: I have just tested in Linux. Can someone try it for Windows and Mac and report any problems ?
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.
Attachments
build_patch_rev108.zip
Patch
(2.65 KiB) Downloaded 5 times
User avatar
filipe
 
Posts: 29
Joined: Thu Dec 17, 2009 10:37 pm
Location: Cambridge, UK

Re: New Build System for the Emulator

Postby uze6666 » Sat Jan 02, 2010 12:34 am

Thanks filipe, I'm putting this in my todo list!

-Uze
User avatar
uze6666
Site Admin
 
Posts: 1550
Joined: Tue Aug 12, 2008 9:13 pm
Location: Montreal, Canada


Return to Uzebox Emulator

Who is online

Users browsing this forum: No registered users and 1 guest

cron