Blob Blame History Raw
From 51bfbe2d5e8728e47f38eb44464f58ad674c4289 Mon Sep 17 00:00:00 2001
From: Jean Delvare <jdelvare@suse.de>
Date: Tue, 7 Apr 2020 11:55:41 +0200
Subject: [PATCH 22/23] dmidecode: Add missing build dependencies on
 dmioutput.h

dmidecode.c and dmioem.c both include dmioutput.h so they must be
rebuilt if that header file changes.

Signed-off-by: Jean Delvare <jdelvare@suse.de>
---
 Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile
index 97a1782fde3f..194a523bdb46 100644
--- a/Makefile
+++ b/Makefile
@@ -78,13 +78,13 @@ vpddecode : vpddecode.o vpdopt.o util.o
 #
 
 dmidecode.o : dmidecode.c version.h types.h util.h config.h dmidecode.h \
-	      dmiopt.h dmioem.h
+	      dmiopt.h dmioem.h dmioutput.h
 	$(CC) $(CFLAGS) -c $< -o $@
 
 dmiopt.o : dmiopt.c config.h types.h util.h dmidecode.h dmiopt.h
 	$(CC) $(CFLAGS) -c $< -o $@
 
-dmioem.o : dmioem.c types.h dmidecode.h dmioem.h
+dmioem.o : dmioem.c types.h dmidecode.h dmioem.h dmioutput.h
 	$(CC) $(CFLAGS) -c $< -o $@
 
 dmioutput.o : dmioutput.c types.h dmioutput.h
-- 
2.17.1