This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

weird gmake behaviour


When using following makefile, if obj directory is present, gmake uses the
explicit rule to make the obj/xx.flags. If there is no obj directory it uses
implicit rule. Possibly a gmake bug?


thanks.,
Prabhakar


all : xx.exe

OBJ_DIR=obj/

%.exe : $(OBJ_DIR)%.flags
    echo "Making $<"

$(OBJ_DIR)xx.flags :
    echo "explicit"

$(OBJ_DIR)%.flags :
    echo "implicit"




--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]