Getting a 'target pattern contains no '%' from running a simple make.  Running 
make from OpenSuse using GNU make 3.8.1.  Any help would be greatly appreciated.
 
Makefile
------------------
hello: 
    echo $@
    make -f include.mk hello
 
include.mk
------------------
hello: hello.o
     cc -c hello.c
 
hello.o: $${@:%.o=%.c} 
  cc -c hello.c
 
Greg


CONFIDENTIALITY NOTICE: This communication with its contents may contain 
confidential and/or legally privileged information. It is solely for the use of 
the intended recipient(s). Unauthorized interception, review, use or disclosure 
is prohibited and may violate applicable laws including the Electronic 
Communications Privacy Act. If you are not the intended recipient, please 
contact the sender and destroy all copies of the communication.
_______________________________________________
Bug-make mailing list
Bug-make@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-make

Reply via email to