summaryrefslogtreecommitdiff
path: root/ext/json/parser/prereq.mk
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-07-28 21:51:31 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-07-28 21:51:31 +0000
commit8d228b25795dc2f598a9511ec18769285fd11109 (patch)
tree0ea66c4273b961b3d7b734d3f09f99e53d7bdb3e /ext/json/parser/prereq.mk
parentb67ecc80df8502e10ddce0ceaeb7b5dfb5f8fba4 (diff)
* common.mk (EXT_SRCS): add ext/json/parser/parser.c.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28780 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/json/parser/prereq.mk')
-rw-r--r--ext/json/parser/prereq.mk8
1 files changed, 8 insertions, 0 deletions
diff --git a/ext/json/parser/prereq.mk b/ext/json/parser/prereq.mk
new file mode 100644
index 00000000000..f5d22d058e2
--- /dev/null
+++ b/ext/json/parser/prereq.mk
@@ -0,0 +1,8 @@
+RAGEL = ragel
+
+.SUFFIXES: .rl
+
+.rl.c:
+ $(RAGEL) -G2 $<
+
+parser.c: