MAMEWorld >> Programming
View all threads Index   Flat Mode Flat  

R. Belmont
Cuckoo for IGAvania
Reged: 09/21/03
Posts: 9711
Loc: ECV-197 The Orville
Send PM
HOW TO: single-driver (formerly "tiny") builds (revised for MAME 0.167+)
08/15/15 11:47 PM


(Revised 11/5/2015 for MAME 0.167+ and the Apple II example now actually works).

make SUBTARGET=name SOURCES=src/mame/drivers/whatever.c REGENIE=1

name affects the output executable name (and can be omitted if the default 'mame' is OK), the SOURCES must be the partial path to at least one driver file.

For example, an Apple II-only binary can be made with "make SOURCES=src/mame/drivers/apple2.c,src/mame/drivers/apple2e.c,src/mame/video/apple2.c REGENIE=1". A Namco System 12-only binary can be made with "make SOURCES=src/mame/drivers/namcos12.c REGENIE=1".

This is much, much faster when working on a driver than making and linking all of MAME, especially post-merger. (Don't forget your usual -j flags to take advantage of multiple cores).

Edited by R. Belmont (11/05/15 06:34 PM)







Entire thread
Subject Posted by Posted on
* HOW TO: single-driver (formerly "tiny") builds (revised for MAME 0.167+) R. Belmont 08/15/15 11:47 PM
. * Re: HOW TO: single-driver (formerly "tiny") builds redk9258  08/16/15 04:50 AM
. * Re: HOW TO: single-driver (formerly "tiny") builds StilettoAdministrator  08/16/15 06:13 PM
. * Re: HOW TO: single-driver (formerly "tiny") builds redk9258  02/28/16 06:25 PM
. * Re: HOW TO: single-driver (formerly "tiny") builds redk9258  08/16/15 05:52 AM
. * Re: HOW TO: single-driver (formerly "tiny") builds Haze  08/16/15 12:10 PM
. * Re: HOW TO: single-driver (formerly "tiny") builds redk9258  08/16/15 03:25 PM

Extra information Permissions
Moderator:  Pi 
0 registered and 2 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 9103