Thread View: gnu.utils.bug
1 messages
1 total messages
Started by Andrew J. Schorr
Fri, 06 Oct 1989 22:04
GNU Make 3.55 problems with force targets
Author: Andrew J. Schorr
Date: Fri, 06 Oct 1989 22:04
Date: Fri, 06 Oct 1989 22:04
29 lines
1426 bytes
1426 bytes
Roland, I am having a problem with force targets. I am using version 3.55 of GNU make on an IBM RT PC running version 2.2.1 of AIX. Example: Directory z contains the following Makefile, and nothing else: clean: FORCE echo "Cleaning..." FORCE: If I type make clean, I get the following response: echo "Cleaning..." Cleaning... Now I type "touch clean"; I expect this to have no effect on the behavior. I again run make clean, and I see the following: make: `clean' is up to date. The RT's bundled version of make does give the desired behavior. Note that if I use the .PHONY special target, I get the desired behavior. Also, surprisingly enough, simply omitting the FORCE dependency also gives me the desired result (I would expect this case to give the behavior that I actually observed when I used the FORCE dependency). This also contradicts the behavior of the RT's bundled make. Thanks for your help, Andrew Schorr <dead!schorr@wheaties.ai.mit.edu>
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads