[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Wed, 13 Oct 2004 12:31:54 -0700
Gnus/5.110003 (No Gnus v0.3) Emacs/21.3 (gnu/linux)
On 13 Oct 2004 at 04:15 PDT, Kukuk Barbara wrote:
> rm -f *.o doesn't work within my makefile. What is wrong?
> rm has the version 4.1. Make has the version 3.79.1
> Thanks for your help.
> Barbara Kukuk
Could you provide more specifics please? What operating system are you
running on? What shell is Make using?
In the absence of any detail, I would suggest replacing your remove-file
command 'rm' with a Make variable $(RM). I also recommend using the Korn
shell if you have it available, but standard /bin/sh would be reasonable
SHELL = /bin/ksh
RM = /bin/rm
<some target specification>: <some prerequisite>
$(RM) -f *.o
Make sure you have a leading tab before the $(RM) command.
Ted Stern Applications Group
Cray Inc. office: 206-701-2182
411 First Avenue South, Suite 600 cell: 206-383-1049
Seattle, WA 98104-2860 FAX: 206-701-2500
Frango ut patefaciam -- I break that I may reveal
(The Paleontological Society motto, equally apropos for debugging)
- rm, Kukuk Barbara, 2004/10/13