summaryrefslogtreecommitdiffstats
path: root/wince
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-11-13 06:29:49 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-11-13 06:29:49 +0000
commiteafd91f9c4a062102ef1a80663564a8160d85f82 (patch)
treecc8d82c4bfeae5f3355f570766fac3d8ee48d08e /wince
parentebea8b0f2d95f830c93acdd2cfd94df0ce8f813e (diff)
downloadruby-eafd91f9c4a062102ef1a80663564a8160d85f82.tar.gz
ruby-eafd91f9c4a062102ef1a80663564a8160d85f82.tar.xz
ruby-eafd91f9c4a062102ef1a80663564a8160d85f82.zip
* lex.c.blt: moved from lex.c.
* lex.c.src: copied from keywords. This is the source of lex.c.blt. * Makefile.in (lex.c): use lex.c.blt if keywords is same as lex.c.src. * win32/Makefile.sub (lex.c): re-introduce copy rule. * bcc32/Makefile.sub (lex.c): ditto. * wince/Makefile.sub (lex.c): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13906 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 56ee9050c..8107c75b1 100644
--- a/wince/Makefile.sub
+++ b/wince/Makefile.sub
@@ -527,6 +527,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 > $@