Add dinit-log.h as a dependency for objects
authorDavin McCall <davmac@davmac.org>
Tue, 17 Nov 2015 19:24:28 +0000 (19:24 +0000)
committerDavin McCall <davmac@davmac.org>
Tue, 17 Nov 2015 19:24:28 +0000 (19:24 +0000)
Makefile

index 4ce969b8cd198268d0d85c681cba7dc89cf6a65a..827535c46346d38900fb1076a1f22a563cc08ee2 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -12,7 +12,7 @@ dinit: $(dinit_objects)
 dinit-start: dinit-start.o
        $(CXX) -o dinit-start dinit-start.o $(EXTRA_LIBS)
 
-$(objects): %.o: %.cc service.h
+$(objects): %.o: %.cc service.h dinit-log.h
        $(CXX) -D_GLIBCXX_USE_CXX11_ABI=0 -std=gnu++11 -c -Os -Wall $< -o $@
 
 #install: all