We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c097ea5 commit cd87d20Copy full SHA for cd87d20
py/mkrules.mk
@@ -35,6 +35,7 @@ $(ECHO) "CC $<"
35
$(Q)$(CC) $(CFLAGS) -c -MD -o $@ $<
36
@# The following fixes the dependency file.
37
@# See http://make.paulandlesley.org/autodep.html for details.
38
+@# Regex adjusted from the above to play better with Windows paths, etc.
39
@$(CP) $(@:.o=.d) $(@:.o=.P); \
40
$(SED) -e 's/#.*//' -e 's/^.*: *//' -e 's/ *\\$$//' \
41
-e '/^$$/ d' -e 's/$$/ :/' < $(@:.o=.d) >> $(@:.o=.P); \
0 commit comments