Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
uPython-mirror
Commits
cd87d20f
Commit
cd87d20f
authored
May 06, 2015
by
Paul Sokolovsky
Browse files
mkrules.mk: Add comment why dependency parsing regex was tweaked.
(Windows compatibility.)
parent
c097ea5d
Changes
1
Hide whitespace changes
Inline
Side-by-side
py/mkrules.mk
View file @
cd87d20f
...
...
@@ -35,6 +35,7 @@ $(ECHO) "CC $<"
$(Q)$(CC)
$(CFLAGS)
-c
-MD
-o
$@
$<
@
# The following fixes the dependency file.
@# See http
:
//make.paulandlesley.org/autodep.html for details.
@
# Regex adjusted from the above to play better with Windows paths, etc.
@$(CP) $(@
:
.o=.d) $(@:.o=.P);
\
$(SED) -e 's/
#
.*//' -e 's/^.*: *//' -e 's/ *
\\
$$//'
\
-e '/^$$/ d' -e 's/$$/ :/' < $(@:.o=.d) >> $(@:.o=.P);
\
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment