I'll grab that, thanks. would help out quite a bit.

Thanks,
Tyler Littlefield
Web: tysdomain.com
email: [email protected]
My programs don't have bugs, they're called randomly added features.

  ----- Original Message ----- 
  From: John Matthews 
  To: [email protected] 
  Sent: Sunday, April 12, 2009 2:58 AM
  Subject: [c-prog] Re: testing exit status in makefile





  --- In [email protected], "John Matthews" <jm5...@...> wrote:
  >
  > --- In [email protected], "Tyler Littlefield" <tyler@> wrote:
  > >
  > > I'm building modules in separate directories, so I have something like:
  > > O_FILES= module1/file1.o, MODULE2/file2.o
  > > then I have:
  > > O_FILES_A = file1.o file2.o
  > > for the linking.
  > > Is there a way I can do this with one line?
  > 
  > There's the notdir function eg.
  > 
  > O_FILES_A = $(notdir $(O_FILES))

  I keep a copy of the Gnu make manual PDF on my PC:
  http://www.gnu.org/software/make/manual/



  

[Non-text portions of this message have been removed]

Reply via email to