Message-ID: <9074E89DACDDD2119C4D00805FEDBE8921848E@ormail1.orckit.com> From: Ephraim Ben-Ishai To: "'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) Content-Type: text/plain; charset="iso-8859-8" 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