Hi everyone,

I have problems with the following Makefile:

########
MODULE_TS_DIR = module_timestamps

vpath % $(MODULE_TS_DIR)

default: lib(foo)

$(MODULE_TS_DIR):
        mkdir -p $@

(%): %.vhd | $(MODULE_TS_DIR)
        cd $(MODULE_TS_DIR) && touch $(*F) && ar rv $@ $(*F) && rm $(*F)

clean:
        $(RM) -r $(MODULE_TS_DIR)

.PHONY: default clean
#############

the prerequisite foo.vhd exists in the directory.

If I run 'make' for the first time, everything is ok, but second time I get:

make: module_timestamps/lib(foo): Field 'name' not cached: 
module_timestamps/lib(foo)

make: module_timestamps/lib(foo): Field 'hname' not cached: 
module_timestamps/lib(foo)

Does someone know what this warning means? I use version 3.82 with archlinux 
patches. 

Kind Regards,
Gökçe

_______________________________________________
Help-make mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-make

Reply via email to