> From: David Boyce <david.s.bo...@gmail.com> > Date: Thu, 2 Aug 2018 17:52:27 -0700 > Cc: bug-make <bug-make@gnu.org> > > default: program_name > > PROGRAM_NAME Program_Name program_name: > @echo 'Do something for $@.' > > ----- > > The thing is that these targets are not actually declared as phony so of > course they're treated as files. I'm > surprised no one else mentioned it, and the topic wandered off. What is the > behavior when you add ".PHONY: > default PROGRAM_NAME Program_Name program_name"?
My Make is built without HAVE_CASE_INSENSITIVE_FS, so I cannot answer the question about the behavior. The original example doesn't produce any warnings for me. In general, I'd expect PHONY targets to be case-sensitive, because they don't exist as files, and so down-casing of file names doesn't affect them. _______________________________________________ Bug-make mailing list Bug-make@gnu.org https://lists.gnu.org/mailman/listinfo/bug-make