From c43f02f294aa5c148b223b117a885b8fd7a7987d Mon Sep 17 00:00:00 2001 From: Andrew Waterman Date: Mon, 22 Apr 2013 02:22:47 -0700 Subject: correctly depend on dispatch.h --- Makefile.in | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'Makefile.in') 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 -- cgit v1.1