[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: creation of a directory
From: |
Paul D. Smith |
Subject: |
Re: creation of a directory |
Date: |
Fri, 30 Jan 2004 10:12:35 -0500 |
%% Boris Kolpackov <address@hidden> writes:
bk> I was wondering if there is a valid reason for the following makefile
bk> not to work.
bk> hello : | foo/
bk> hello :
bk> @echo hello
bk> %/ :
bk> mkdir $*
GNU make strips trailing slashes, so that "foo/" and "foo" are
considered the same prerequisite.
You can get your makefile to work like this:
hello : | foo/.
hello :
@echo hello
%/. :
mkdir $*
--
-------------------------------------------------------------------------------
Paul D. Smith <address@hidden> Find some GNU make tips at:
http://www.gnu.org http://make.paulandlesley.org
"Please remain calm...I may be mad, but I am a professional." --Mad Scientist
- creation of a directory, Boris Kolpackov, 2004/01/30
- Re: creation of a directory,
Paul D. Smith <=
- Re: creation of a directory, Noel Yap, 2004/01/30
- Re: creation of a directory, Boris Kolpackov, 2004/01/30
- Re: creation of a directory, Paul D. Smith, 2004/01/30
- Re: creation of a directory, Noel Yap, 2004/01/30
- Re: creation of a directory, Boris Kolpackov, 2004/01/31
- Re: creation of a directory, Noel Yap, 2004/01/30
- Re: creation of a directory, Noel Yap, 2004/01/30
- Re: creation of a directory, Boris Kolpackov, 2004/01/30