summaryrefslogtreecommitdiff
path: root/grammar/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'grammar/Makefile')
-rw-r--r--grammar/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/grammar/Makefile b/grammar/Makefile
index 840c2599..35f244f5 100644
--- a/grammar/Makefile
+++ b/grammar/Makefile
@@ -1,4 +1,4 @@
-all: rust pcre pcre-colm
+all: rust pcre pcre-colm dns
RAGEL = ../ragel/ragel
COLM = ../colm/colm
@@ -12,3 +12,7 @@ pcre: pcre.rl $(RAGEL)
pcre-colm: pcre.lm
$(COLM) -o pcre-colm pcre.lm
+
+dns: dns.rl
+ $(RAGEL) -G2 -o dns.cc dns.rl
+ g++ -g -Wall -o dns dns.cc -lpcap