commit 8d385350da75043e03f44cd018d84a8936931fda parent aa2c9913ba00408d55474944e2017ca7bc173e13 Author: Michael Savage <mikejsavage@gmail.com> Date: Sat Feb 6 14:13:30 +0000 Replace / with _ when making .deps/*.d Diffstat:
rules.mk | | | 2 | +- |
diff --git a/rules.mk b/rules.mk @@ -24,7 +24,7 @@ $(MODULES): %.so: $(COMMON_OBJS) # Build *.o from *.cc # The -M* stuff is for generating dependency lists %.o: %.cc - $(CXX) -c -o $@ $< -MMD -MP -MF .deps/$*.d $(CXXFLAGS) + $(CXX) -c -o $@ $< -MMD -MP -MF .deps/$(subst /,_,$*).d $(CXXFLAGS) clean: rm -f $(BINS) $(MODULES) *.o *.so $(STB_CCS)