[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Fw: make - rm bug
From: |
Hedley Lester |
Subject: |
Fw: make - rm bug |
Date: |
Mon, 8 May 2006 12:59:55 +0100 |
Hi,
There appears to be a bug in the interaction between make and rm, so that it
does not expand *.o when it is inside the makefile. It works fine on the
command line.
Running under Windows XP
>rm --version
rm (GNU fileutils) 3.16
>make --version
GNU Make version 3.75, by Richard Stallman and Roland McGrath.
I don't know if this bug is still extant in later versions
In the attached .zip folder I have included the source for a dummy project, the
make file and the gnu executables and library that are required to make the
whole demonstration self-contained.
Expand the folder, then, from the command line in the resulting directory
execute:
path ;
make
make clean
You will see that although vector.o and main.o are created by the compilation,
they are not removed by "make clean". However, executing
rm -vf *.o
on the command line does remove them.
If this problem is known and has been corrected, I would appreciate it if you
could let me know what versions of make and or rm behave correctly. Many
thanks.
Hope this helps,
Hedley Lester
p20.zip
Description: Zip compressed data
- Fw: make - rm bug,
Hedley Lester <=