[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
copying files
From: |
William . Peets |
Subject: |
copying files |
Date: |
Wed, 8 Sep 2004 08:49:55 -0400 |
I am using gnu make (3.79) and I have the following scenario
LIBDIR = library/
HDRS = pkg_one/foo1.h
pkg_two/foo2.h
INTFC_HDRS = $(addprefix $(LIBDIR), $(notdir $(HDRS))) #
library/foo1.h library/foo2.h
$(INTFC_HDRS): $(LIBDIR)% : $(TARGET_HDRS)$
cp $< $@
Whenever one of the source headers change I want it to update in the
library, but I keep getting the error
"make{1]: ***No rule to make target foo1.h"
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- copying files,
William . Peets <=