aboutsummaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorAndrew Waterman <waterman@cs.berkeley.edu>2013-04-22 02:22:47 -0700
committerAndrew Waterman <waterman@cs.berkeley.edu>2013-04-22 02:22:47 -0700
commitc43f02f294aa5c148b223b117a885b8fd7a7987d (patch)
treeff7a4f5ffb949fdf44be46ba25cbbe775597000d /Makefile.in
parent6c19a775f909f517681645ddbe8cab52fe37af1e (diff)
downloadspike-c43f02f294aa5c148b223b117a885b8fd7a7987d.zip
spike-c43f02f294aa5c148b223b117a885b8fd7a7987d.tar.gz
spike-c43f02f294aa5c148b223b117a885b8fd7a7987d.tar.bz2
correctly depend on dispatch.h
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in8
1 files changed, 3 insertions, 5 deletions
diff --git a/Makefile.in b/Makefile.in
index 749062b..fecd5b0 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -294,9 +294,7 @@ deps += $$($(2)_deps)
test_outs += $$($(2)_test_outs)
-vpath %.h $$(src_dir)/$$(1)
-
-install_hdrs += $$($(2)_hdrs)
+install_hdrs += $$(addprefix $(src_dir)/$(1)/, $$($(2)_hdrs))
install_libs += lib$(1).a
install_exes += $$($(2)_install_prog_exes)
@@ -338,14 +336,14 @@ install-hdrs : $(install_hdrs)
install-libs : $(install_libs)
$(MKINSTALLDIRS) $(install_libs_dir)
- for file in $(install_libs); \
+ for file in $^; \
do \
$(INSTALL_LIB) $$file $(install_libs_dir); \
done
install-exes : $(install_exes)
$(MKINSTALLDIRS) $(install_exes_dir)
- for file in $(install_exes); \
+ for file in $^; \
do \
$(INSTALL_EXE) $$file $(install_exes_dir); \
done