On 13 Oct 2004 at 04:15 PDT, Kukuk Barbara wrote: > Hi > 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 also. 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 -- 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) _______________________________________________ Bug-make mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/bug-make