James wrote:
aa/bb/obj/x.o: %.o: ../%.c
Does make allow two : on the same rule line?
try duplicating the command lines:
aa/bb/obj/x.o: ../%.c
@echo R1 $@ $<
%.o: ../%.c
@echo R0 $@ $<
I use it and it works as expected. I know it's not beautiful (specially
to multiple specific rules and one generic as is my case) so if you find
a better way, let me know. ;)
thanks,
--renato
_______________________________________________
help-gnu-utils mailing list
help-gnu-utils@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnu-utils