Hello
I have the following rule:
TARGETS = dir1/file.o dir2/file.h
$(TARGETS): $(@F)
$(ECHO) \* Copying $(@F) -\> $@
$(CP) $(@F) $@
The rule works i.e. copies given file from source to destination directory if the file
doesn't exist in destination directory but fails if the destination file exists and
local file is newer that destination.
Why?
Is there another way to achive the behavior I need?
greetings
--
Maciej Walezak
-GDN-
_______________________________________________
Help-make mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/help-make