www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/05/17/02:58:40

Message-ID: <9074E89DACDDD2119C4D00805FEDBE8921848E@ormail1.orckit.com>
From: Ephraim Ben-Ishai <Ephraimbi AT orckit DOT com>
To: "'djgpp AT delorie DOT com'" <djgpp AT delorie DOT com>
Subject: make file help
Date: Mon, 17 May 1999 09:56:08 +0200
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2448.0)
Reply-To: djgpp AT delorie DOT com

hello 
I am trying to form a static rule:
I have a list of object files of the form: lib/file1.o lib/file2.o ...
My dependencies are of the form src/file1.c src/file2.c ....
How do I filter-out the lib/ and replace it with src/

OBJ_FILES = lib/file1 lib/file2 lib/file3.... 

$(OBJ_FILES):%.o:%.c
	command
	command

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019