summaryrefslogtreecommitdiff
path: root/grammar/pcre/Makefile
blob: 6f895485ec6a1f92c10ec639776fdaa4ed5b2a29 (plain)
1
2
3
4
5
6
7
8
9
10
11
COLM = ../../colm/colm
RAGEL = ../../ragel/ragel

all: pcre-colm pcre-ragel

pcre-colm: pcre.lm
	$(COLM) -o $@ pcre.lm

pcre-ragel: pcre.rl $(RAGEL)
	$(RAGEL) -G2 pcre.rl
	gcc -g -Wall -o $@ pcre.c