[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Problem with substitution reference

From: Greg Ortiz
Subject: Problem with substitution reference
Date: Wed, 24 Sep 2008 13:20:05 -0700

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.
    echo $@
    make -f include.mk hello
hello: hello.o
     cc -c hello.c
hello.o: $${@:%.o=%.c}
  cc -c hello.c

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.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]