summaryrefslogtreecommitdiff
path: root/wince
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-06-08 03:49:07 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-06-08 03:49:07 +0000
commit250a29cc6be6a40b828b399d230748d02572efda (patch)
tree4560efb6e043cd0f9679d3144829d7e592d73c6b /wince
parent1a8d5ed8cbeb491285290944aec2f138f9f3b511 (diff)
* {win32,wince}/Makefile.sub: add lex.c rule.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12474 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'wince')
-rw-r--r--wince/Makefile.sub3
1 files changed, 3 insertions, 0 deletions
diff --git a/wince/Makefile.sub b/wince/Makefile.sub
index 3931be20e5..d8f1f8612e 100644
--- a/wince/Makefile.sub
+++ b/wince/Makefile.sub
@@ -515,6 +515,9 @@ end
.rc.res:
$(RC) -I. -I$(<D) $(iconinc) -I$(srcdir)/win32 $(RFLAGS) -fo$@ $(<:\=/)
+lex.c: {$(srcdir)}lex.c.blt
+ copy $(?:/=\) $@
+
{$(srcdir)}.y.c:
$(YACC) $(YFLAGS) $(<:\=/)
sed -e "s!^ *extern char \*getenv();!/* & */!;s/^\(#.*\)y\.tab/\1parse/" y.tab.c > $@