From 087464c4051abdd9446a9e0d91aa1bc1399d22d3 Mon Sep 17 00:00:00 2001 From: Not Zed Date: Thu, 10 Jun 2021 09:37:25 +0930 Subject: [PATCH] Fixed dbmarshal.h dependency. --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 13cec01..153b89f 100644 --- a/Makefile +++ b/Makefile @@ -110,9 +110,11 @@ input-monitor: input-monitor.o notify.o blobs.o disk-util: disk-util.o dbindex.o dbmarshal.o http-monitor: http-monitor.o dbindex.o notify.o dbmarshal.o ../libeze/libeze.a +dbindex.o: dbmarshal.h + %.d: %.c @rm -rf $@ - @cc -MM -MT "$*.o" $< -o $@~ $(CFLAGS) + @cc -MM -MT "$*.o" $< -o $@~ $(CFLAGS) 2>/dev/null @sed 's,\($*\.o\) *:,\1 $@ : ,g' $@~ > $@ && rm $@~ ifeq '$(filter clean dist,$(MAKECMDGOALS))' '' -- 2.39.5