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))' ''