|
From: | Henrik Carlqvist |
Subject: | Re: Makefiles question... $(OBJECT_FILES): $(HEADER_FILES) |
Date: | Mon, 22 Jan 2007 08:38:01 +0100 |
User-agent: | Pan/0.14.2 (This is not a psychotic episode. It's a cleansing moment of clarity.) |
"LiquidEyes" <news@liquideyes.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: root@variousus.net root@localhost
[Prev in Thread] | Current Thread | [Next in Thread] |