gnustep-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Framework support in makefiles


From: Chris B. Vetter
Subject: Re: Framework support in makefiles
Date: Wed, 2 Jul 2003 11:14:46 -0700

On Wed, 02 Jul 2003 19:36:34 +0200
Stefan Urbanek <address@hidden> wrote:
[...]
> ADDITIONAL_TOOL_LIBS += -lStepTalk
> ADDITIONAL_LIB_DIRS += -L../Source/$(GNUSTEP_OBJ_DIR)

Ugh... One possible solution below...

> Now, say I have a source directory structure like this:
> /Frameworks
>     /FirstFramework
>         *.[hm]
>         GNUMakefile
>     /SecondFramework
>         *.[hm]
>         GNUMakefile
> /Applications
>     /MyApp
>         *.[hm]
>         GNUMakefile
> And I want MyApp to be linked with FirstFramework. Is there a similar
> way how can i link to just built frameworks?

Put a makefile in each directory that refers to SUBPROJECT and let the
top level makefile run make through Frameworks/ first.

In Frameworks/ put a GNUmakefile.postamble that runs a 'make install'
once the subprojects are build.

The makefile in MyApp/ can then link to the installed framework(s).

-- 
Chris




reply via email to

[Prev in Thread] Current Thread [Next in Thread]