knowledge-database (beta)

Current group: comp.lang.objective-c

GNUmakefile and subdirectories

GNUmakefile and subdirectories  
Samuel Hornus
 Re: GNUmakefile and subdirectories  
J.F.Costa
 Re: GNUmakefile and subdirectories  
Tilo_Prütz
 Re: GNUmakefile and subdirectories  
J.F.Costa
 Re: GNUmakefile and subdirectories  
Samuel Hornus
From:Samuel Hornus
Subject:GNUmakefile and subdirectories
Date:Sat, 27 Nov 2004 16:24:06 +0100
Hi, I am learning to create GNUstep applications on my linux/debian
system. I wamt my .m files to be into subdirectories, but if I put:

Fairing_OBJC_FILES = main/main.m main/fairing.m

Then 'make' complains:

main/main.m:16: fatal error: opening dependency file shared_obj/main/main.d: No such file or directory
compilation terminated.

How can I solve the problem ?

Thank you !
--
Samuel
From:J.F.Costa
Subject:Re: GNUmakefile and subdirectories
Date:29 Nov 2004 05:49:13 -0800
Samuel Hornus wrote in message news:<20041127162406.51ba9975@isobel.taket.org>...
> Hi, I am learning to create GNUstep applications on my linux/debian
> system. I wamt my .m files to be into subdirectories, but if I put:
>
> Fairing_OBJC_FILES = main/main.m main/fairing.m
>
> Then 'make' complains:
>
> main/main.m:16: fatal error: opening dependency file shared_obj/main/main.d: No such file or directory
> compilation terminated.
>
> How can I solve the problem ?
>
> Thank you !

I think you shouldn't put your implementation files in a
subdirectory. That might be making the location where the dependency
files are being generated in be different from the one where they
should be generated in. If you want to have subdirs, maybe you should
have subprojects for each subdir. Maybe libraries. I'm no GNUstep
expert, here, so I'm just guessing. Try it, see if it works. If not,
there's a newsgroup specifically for GNUstep related questions. They
should be of much greater help. This newsgroup here is more
Apple-oriented (and POC-oriented, of course). Hope I was helpful. Good
luck.

J.F.Costa
From:Tilo_Prütz
Subject:Re: GNUmakefile and subdirectories
Date:Mon, 29 Nov 2004 15:36:42 +0100
J.F.Costa wrote:
>
> This newsgroup here is more
> Apple-oriented (and POC-oriented, of course). Hope I was helpful. Good
> luck.
>

I think that's wrong. Correct me, if I am wrong but I think:

- it is Objective-C oriented
- it is for the language Objective-C and neither
for an (development) environment nor for a platform

greetz

>tilo


P.S.: And of course it's subtitle is: "David Stes' battlefield". (SCNR)

P.P.S.: @David: Please do NOT reply to this joke because I do not
read your posts (anymore).
From:J.F.Costa
Subject:Re: GNUmakefile and subdirectories
Date:29 Nov 2004 12:06:19 -0800
Tilo Prütz wrote in message news:...
> J.F.Costa wrote:
> >
> > This newsgroup here is more
> > Apple-oriented (and POC-oriented, of course). Hope I was helpful. Good
> > luck.
> >
>
> I think that's wrong. Correct me, if I am wrong but I think:
>
> - it is Objective-C oriented
> - it is for the language Objective-C and neither
> for an (development) environment nor for a platform
>
> greetz
>
> >tilo
>
>
> P.S.: And of course it's subtitle is: "David Stes' battlefield". (SCNR)
>
> P.P.S.: @David: Please do NOT reply to this joke because I do not
> read your posts (anymore).

I was just saying that there is a more specific source of information
concerning GNUstep related subjects, and that he'd probably get more
help there. In fact, his question is only indirectly related to ObjC.
He wants to know something about GNUstep itself. I wasn't trying to be
rude or telling him that if he's using GNUstep he isn't welcome here.
After all, I use GNUstep. I don't have a Mac. They cost too much. :)

J.F.Costa
From:Samuel Hornus
Subject:Re: GNUmakefile and subdirectories
Date:Tue, 30 Nov 2004 01:00:40 +0100
J.F.Costa wrote:
> I was just saying that there is a more specific source of
> information
> concerning GNUstep related subjects, and that he'd probably get more
> help there. In fact, his question is only indirectly related to ObjC.
> He wants to know something about GNUstep itself. I wasn't trying to be
> rude or telling him that if he's using GNUstep he isn't welcome here.
> After all, I use GNUstep. I don't have a Mac. They cost too much. :)

Indeed, I just found the existence of the GNUstep mailing lists,
and subscribed. Thank you for your help.
I'll still be around here to learn more about blocks ;-)
--
Samuel Hornus
   

Copyright © 2006 knowledge-database   -   All rights reserved