-DMOZ_VERSION_MINOR=$(moz_version_minor) \
-DMOZ_VERSION_PATCHLEVEL=$(moz_version_patchlevel)
-.objs/%.d : %.cpp .objs/.created
- $(CXX) $(CXXFLAGS) $(CPPFLAGS) -MM -MF $@ $<
-
-.objs/%.d : %.c .objs/.created
- $(CC) $(CFLAGS) $(CPPFLAGS) -MM -MF $@ $<
+.objs/%.d : .objs/.created
+ touch $@
.objs/%.o : %.cpp .objs/.created
- $(CXX) $(CXXFLAGS) $(CPPFLAGS) -o $@ -c $<
+ $(CXX) $(CXXFLAGS) $(CPPFLAGS) -o $@ -MD -MF .objs/$*.d -c $<
.objs/%.o : %.c .objs/.created
- $(CC) $(CFLAGS) $(CPPFLAGS) -o $@ -c $<
+ $(CC) $(CFLAGS) $(CPPFLAGS) -o $@ -MD -MF .objs/$*.d -c $<
%/.created :
mkdir -p $*