List Info

Thread: Re: Makefiles question... $(OBJECT_FILES): $(HEADER_FILES)




Re: Makefiles question... $(OBJECT_FILES): $(HEADER_FILES)
user name
2007-01-22 01:38:01
"LiquidEyes" <newsliquideyes.net> wrote:
> I can write
> $(LIST_OF_OBJECT_FILES): Header1.h Header2.h Header3.h
> 
> and I can write
> Object1.obj: $(LIST_OF_HEADER_FILES)
> 
> but it seems I can't write
> $(LIST_OF_OBJECT_FILES): $(LIST_OF_HEADER_FILES)

Try something like this:

$(LIST_OF_OBJECT_FILES): %.o: $(LIST_OF_HEADER_FILES)

regards Henrik
-- 
The address in the header is only to prevent spam. My real
address is:
hc8(at)uthyres.com Examples of addresses which go to
spammers:
rootvariousus.net rootlocalhost

_______________________________________________
help-gnu-utils mailing list
help-gnu-utilsgnu.org

http://lists.gnu.org/mailman/listinfo/help-gnu-utils

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )