Mail Archives: djgpp/1995/09/10/00:53:54
Xref: | news-dnh.mv.net comp.os.msdos.djgpp:1972
|
Path: | news-dnh.mv.net!mv!news.sprintlink.net!in2.uu.net!news1.digital.com!decwrl!purdue!lerc.nasa.gov!lerc.nasa.gov!babar
|
From: | gantose AT lerc DOT nasa DOT gov (Dave Gantose)
|
Newsgroups: | comp.os.msdos.djgpp
|
Subject: | MAKE -f problem
|
Date: | Fri, 08 Sep 95 19:27:15 GMT
|
Organization: | ADF, Inc.--NASA Lewis, Cleveland, OH
|
Lines: | 31
|
Nntp-Posting-Host: | babar.lerc.nasa.gov
|
To: | djgpp AT sun DOT soe DOT clarkson DOT edu
|
Dj-Gateway: | from newsgroup comp.os.msdos.djgpp
|
I have a MAKE (v3.73) file called "a.bcd". When I issue the command
make -f a.bcd
it correctly builds my program. But then it displays this:
rm a.bcd.omake.exe: unlink: a.bcd.o: Not a directory (ENOTDIR)
The odd thing is that if I use the -r switch like this:
make -r -f a.bcd
or if I rename the make file to something without an extension, or if I rename
it to "makefile" and just type "make", then everything is OK (i.e., the above
message is not displayed).
What's it trying to do here? I understand that rm is a Unix command, but I am
using DOS 6.22. My make file contains some pattern rules, like
%.o :
gcc $(CLAGS) -c $< -o $@
%.cpp :
get $@
Is one of these somehow clashing with a built-in rule? It seemed to work OK
before I tried using pattern rules and just typed essentially the same command
over and over!
I'm a MAKE novice, and I'm in the dark. Any help would be appreciated. Thanks.
=============================================================================
Dave Gantose
ADF, Inc.
2001 Aerospace Pkwy. phone: (216)977-1376
Brook Park, OH 44142 email: Gantose AT lerc DOT nasa DOT gov
- Raw text -