[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
why does make strip / at the end of a directory prerequisite??
From: |
Mark Galeck (CW) |
Subject: |
why does make strip / at the end of a directory prerequisite?? |
Date: |
Wed, 7 Sep 2011 19:01:37 -0700 |
Hello,
This ought to work - it works on Windows GNU Make, but not on Linux:
%/:
mkdir -p $@
dir/foobar: dir/
touch $@
GNU Make on Linux thinks that dir is the prerequisite, not dir/, and bombs.
Is this a bug??
Mark
- why does make strip / at the end of a directory prerequisite??,
Mark Galeck (CW) <=
- Re: why does make strip / at the end of a directory prerequisite??, Lane Schwartz, 2011/09/08
- RE: why does make strip / at the end of a directory prerequisite??, Mark Galeck (CW), 2011/09/08
- Re: why does make strip / at the end of a directory prerequisite??, Lane Schwartz, 2011/09/08
- Re: why does make strip / at the end of a directory prerequisite??, Lane Schwartz, 2011/09/08
- RE: why does make strip / at the end of a directory prerequisite??, Mark Galeck (CW), 2011/09/08
- Re: why does make strip / at the end of a directory prerequisite??, Stephan Beal, 2011/09/08