weird gmake behaviour

Prabhakar Goyal pgoyal@isi.com
Fri Feb 25 10:49:00 GMT 2000


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



More information about the Cygwin mailing list