From 9603efaad6cddeda15f449188c56032207f78dbb Mon Sep 17 00:00:00 2001 From: Kay Sievers Date: Sat, 21 Dec 2013 19:20:52 +0100 Subject: [PATCH] build-sys: add headers as dependency --- Makefile.am | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Makefile.am b/Makefile.am index ed647c3..d224418 100644 --- a/Makefile.am +++ b/Makefile.am @@ -87,7 +87,6 @@ efi_headers = \ efi_cppflags = \ $(EFI_CPPFLAGS) \ -I$(top_builddir) -include config.h \ - -I$(top_srcdir)/src/efi \ -I$(EFI_INC_DIR)/efi \ -I$(EFI_INC_DIR)/efi/$(ARCH) \ -DMACHINE_TYPE_NAME=\"$(MACHINE_TYPE_NAME)\" @@ -133,7 +132,7 @@ gummibootlib_DATA = $(efi_loadername) CLEANFILES += $(efi_objects) $(efi_solib) $(efi_loadername) EXTRA_DIST += $(efi_sources) $(efi_headers) -$(top_builddir)/src/efi/%.o: $(top_srcdir)/src/efi/%.c +$(top_builddir)/src/efi/%.o: $(top_srcdir)/src/efi/%.c $(addprefix $(top_srcdir)/,$(efi_headers)) @$(MKDIR_P) $(top_builddir)/src/efi/ $(AM_V_CC)$(EFI_CC) $(efi_cppflags) $(efi_cflags) -c $< -o $@ -- 2.7.4