Hello Alfa,

On 05.12.04, Alfa wrote:

> I prefer to split the big project into small parts.
> Than I make a header-file (*.h), which contains:
> - all defines
> - all own structures
> - all global variables

make sure you just define the globals in the headers and not initialize
them, else it can become "tricky" ;-)

> A makefile may look like:
...
> toolstart.o:    toolstart.c
> ahiplay.o:      ahiplay.c
> ahibasic.o:     ahibasic.c
> ahigui.o:       ahigui.c
> images.o:       images.c
> file.o:         file.c
> slidercode.o:   slidercode.c

the dependencies should include header files too, else the project
will not rebuild necessary parts when you change something in your
headers.

regards,
-- 
.tokai - christian rosentreter  @ http://www.christianrosentreter.com 

angels and demons were circling over me


------------------------ Yahoo! Groups Sponsor --------------------~--> 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/16uqlB/TM
--------------------------------------------------------------------~-> 

Visit http://www.amiga.dk/tumult for MUI-related
information, especially about MUI custom classes. 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/MUI/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to