From: Not Zed Date: Thu, 10 Jun 2021 00:07:25 +0000 (+0930) Subject: Fixed dbmarshal.h dependency. X-Git-Url: https://code.zedzone.au/cvs?a=commitdiff_plain;h=087464c4051abdd9446a9e0d91aa1bc1399d22d3;p=playerz Fixed dbmarshal.h dependency. --- 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))' ''