Unix questions - Makefile novice has error toring object code in sub-directory

This is Interesting: Free IT Magazines  
Home > Archive > Unix questions > October 2004 > Makefile novice has error toring object code in sub-directory





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Makefile novice has error toring object code in sub-directory
Christopher M. Lusardi

2004-10-08, 5:52 pm

Hello,

I apologize for a typo in my post involving the same "Subject"
line. The reference to ".my_objects" should have been ".objects".

Then the question, as stated, is correct!


Apologizingly thankful for your informative response,
Christopher Lusardi
Christopher M. Lusardi

2004-10-15, 9:28 pm

clusardi2k@aol.com (Christopher M. Lusardi) wrote in message news:<d5cfdc47.0410080840.1a0ddc1a@posting.google.com>...
> Hello,
>


I have a working program on Linux, but I'm having difficulty
on SGI with string substitution.

Is string substitution on Linux and SGI the same? Can I do
the following on both machines?

MY_OBJS = /home/clusardi/my_objs/

RES = $(STR:%.c=$(MY_OBJS)%.C)

Chris

P.S.: I'm posting this from home, so I hope it has no typos.
Ed Morton

2004-10-15, 9:28 pm



Christopher M. Lusardi wrote:

> clusardi2k@aol.com (Christopher M. Lusardi) wrote in message news:<d5cfdc47.0410080840.1a0ddc1a@posting.google.com>...
>
>
>
> I have a working program on Linux, but I'm having difficulty
> on SGI with string substitution.
>
> Is string substitution on Linux and SGI the same? Can I do
> the following on both machines?
>
> MY_OBJS = /home/clusardi/my_objs/
>
> RES = $(STR:%.c=$(MY_OBJS)%.C)
>
> Chris
>
> P.S.: I'm posting this from home, so I hope it has no typos.


I don't use either Linux or SGI, but the differences may be due to which
"make" tool you're using on each box rather than the OS. You may want to
install the same version of GNU make on both for consistency and then
see if you still have a problem. If you do, say what the problem is and
post a small complete example with sample output that demonstrates it.

Ed.
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com