Re: Make allows kind of multiple "alias" for the same target

2021-07-22 Thread Edward Welbourne
> Here, we have 2 targets: > ../1/../main.o > ../2/../main.o > > In fact, this is the same target/file (taking into account relative > directories). Note that if ../1 or ../2 is a symlink to somewhere else, ../1/.. and ../2/.. aren't the same place. It's the makefile's responsibility to resolve

Make allows kind of multiple "alias" for the same target

2021-07-22 Thread lol lol
Hello dear developers of a Make, Our team faced some race problems while building a project with Make. Precise analysis shows that the problem was in fact, that Make doesn't care if we have different aliases for the same target. For example: ``` .PHONY: all ../1/../main.o ../2/../main.o all: