[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
I need slight different bahavior
From: |
Maciej Walezak |
Subject: |
I need slight different bahavior |
Date: |
Thu, 25 Apr 2002 18:46:59 +0200 |
Hello there,
I have rules
a.h a.o a:
command
a.h:
a.o: b.h
a: b.o b.h
Since in my case the command creates all target files at one invocation, I
would like to specify something like this in addition:
a.h: b.o b.h
a.o: b.o
which actually amounts to
a.h a.o a: b.o b.h
But I need the two last directives to behave unusually. I need that 'make'
checks for existence of dependency files (and possibly invokes some other
commands that create them) but does not invoke command on account of any of
those dependencies to create targets.
For example, I need that a.o is recreated because of newer b.h nad not because
of newer b.o, but if it gets recreated (because it does not exist or b.h is
newer) 'make' should assure that b.o is present.
I know it is strange but ... maybe somebody knows some trick.
--
Maciej Walezak
-GDN-
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- I need slight different bahavior,
Maciej Walezak <=