]> git.decadent.org.uk Git - videolink.git/blobdiff - Makefile
Fixed warning messages from make when first compiled
[videolink.git] / Makefile
index bf159592a6cfc8ae6eae67a562ed174a07c566c8..9a62d7e2be49e66ebe55aaa3ecf06c2bfa37291e 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -109,9 +109,6 @@ $(sources_using_moz_unstable:%.cpp=.objs/%.o)                          \
                   -DMOZ_VERSION_MAJOR=$(moz_version_major)             \
                   -DMOZ_VERSION_MINOR=$(moz_version_minor)
 
-.objs/%.d : .objs/.created
-       touch $@
-
 .objs/%.o : %.cpp .objs/.created
        $(CXX) $(CXXFLAGS) $(CPPFLAGS) -o $@ -MD -MF .objs/$*.d -c $<
 
@@ -123,7 +120,7 @@ $(sources_using_moz_unstable:%.cpp=.objs/%.o)                          \
        touch $@
 
 ifneq ($(MAKECMDGOALS),clean)
-    include $(cxxsources:%.cpp=.objs/%.d) $(csources:%.c=.objs/%.d)
+    -include $(cxxsources:%.cpp=.objs/%.d) $(csources:%.c=.objs/%.d)
 endif
 
 .PRECIOUS : %/.created