help-make
[Top][All Lists]
Advanced

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

No rule to make target %.h


From: Tobias Contreras
Subject: No rule to make target %.h
Date: Mon, 12 Jun 2006 16:36:59 -0400

 

I am unable to add all header files as prerequisite using % wildcard, and I have also added path to $(INC) variable.

Anything else I need to add or remove?

Thanks
Tobias

 

Make ver. 3.79

 

Code:

 

VPATH = ../../common/firmware/flash

vpath %.h ../../common/firmware/flash

 

$(OBJ_DIR)/nandflash.o: ../../common/firmware/flash/nandflash.c %.h

$(PRINT) ../../common/firmware/flash/nandflash.c

$(CC16) $(CFLAGS) $(OPTIMISATION) $(INC) -c -o $@ ../../common/firmware/flash/nandflash.c

 

Error:


make: *** No rule to make target `%.h', needed by `obj/eval/nandflash.o'.  Stop.


This transmission (including any attachments) may contain confidential information, privileged material (including material protected by the solicitor-client or other applicable privileges), or constitute non-public information. Any use of this information by anyone other than the intended recipient is prohibited. If you have received this transmission in error, please immediately reply to the sender and delete this information from your system. Use, dissemination, distribution, or reproduction of this transmission by unintended recipients is not authorized and may be unlawful.

reply via email to

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