discuss-gnustep
[Top][All Lists]
Advanced

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

Re: GNUmakfiles - sources must be in project's root?


From: Nicola Pero
Subject: Re: GNUmakfiles - sources must be in project's root?
Date: Sat, 10 Oct 2009 19:34:17 +0200


On 26 Aug 2009, at 11:31, Juergen Lorenz Simon wrote:

Hi,

I'm trying to shoehorn GNUstep onto an existing project. During the creation of the GNUstep makefile (originally I had the luxury of cmake), I found I could not add sources like this:

foo_OBJC_FILES = src/App/main.mm \
        src/App/Protocol.mm \
        ...

The result in calling make -f GNUmakefile is:

This is gnustep-make 2.2.0. Type 'make print-gnustep-make-help' for help.
Making all for objc_program foo...
make[2]: *** No rule to make target `obj/src/App/main.mm', needed by `obj/foo'. Stop.

The question is: how do I add sourcefiles, which are organized in several subdirectories, to the GNUmakefile without having to create subprojects or reorganize the project layout? I perused the GNUstep module and application sources, I can't seem to find example.


Interesting ... I implemented support for it in gnustep-make (trunk). It now works for me. Please try again if you have a chance. :-)

Thanks




reply via email to

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