MAMEWorld >> Programming
View all threads Index   Flat Mode Flat  

franciscohs
M.A.M.E. fan
Reged: 10/04/08
Posts: 174
Loc: Argentina
Send PM
Re: Please somone explain dependency between galaga and qwak drivers
08/05/10 10:10 PM


> from what I can see, MAME/MESS makefile only explicitly gives dependencies for
> components which use no .h file (like most snes add-on chips and some model2/model3
> video routines) and hence are directly included into other source files
>
> otherwise, files got only compiled once without dependencies and at linking stage all
> the pieces are glued together. in this specific case, atari_vg.c is compiled in
> atari.a.
>
> to make easier spotting subtle dependencies, in MESS makefile there is a shared.a
> entry which collects components used by multiple systems, but I'm not sure if MAME
> has one as well, neither if it makes sense to have it (in the sense that I'm not so
> sure shared.a would make easier the creation of tiny.mak to average users)

Soo, if I do what I did, adding (machine)/atari_vg.o to the galaga line, would mean that atari_vg.c is compiled twice as per the makefile or this is detected and the second time is not compiled? (in the case I was compiling everything, I know in my case it was not being compiled the first time)







Entire thread
Subject Posted by Posted on
* Please somone explain dependency between galaga and qwak drivers franciscohs 07/25/10 12:43 AM
. * Re: Please somone explain dependency between galaga and qwak drivers Lord Nightmare  07/25/10 05:00 AM
. * Re: Please somone explain dependency between galaga and qwak drivers franciscohs  07/30/10 01:37 AM
. * Re: Please somone explain dependency between galaga and qwak drivers TafoidAdministrator  07/30/10 02:12 AM
. * Re: Please somone explain dependency between galaga and qwak drivers Lord Nightmare  08/01/10 07:46 PM
. * Re: Please somone explain dependency between galaga and qwak drivers etabeta  08/03/10 05:29 PM
. * Re: Please somone explain dependency between galaga and qwak drivers Lord Nightmare  08/03/10 11:10 PM
. * Re: Please somone explain dependency between galaga and qwak drivers etabeta  08/04/10 09:06 AM
. * Re: Please somone explain dependency between galaga and qwak drivers franciscohs  08/05/10 10:10 PM

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