Build: remove manual *.h dependencies.
authorDavin McCall <davmac@davmac.org>
Fri, 16 Jun 2017 17:32:31 +0000 (18:32 +0100)
committerDavin McCall <davmac@davmac.org>
Fri, 16 Jun 2017 17:32:31 +0000 (18:32 +0100)
The auto-dependency generation should handle all include files.

src/Makefile

index aa10d6a825c5bb7fb1cfb5dfd1973b4ab8706468..a30e3a848f8023b7da574e613e7a4ba1d5c18369 100644 (file)
@@ -19,7 +19,7 @@ dinitctl: dinitctl.o
 shutdown: shutdown.o
        $(CXX) -o shutdown shutdown.o
 
-$(objects): %.o: %.cc service.h dinit-log.h control.h control-cmds.h cpbuffer.h
+$(objects): %.o: %.cc
        $(CXX) $(CXXOPTS) -Idasynq -c $< -o $@
 
 install: all