diff options
author | Adrian Thurston <thurston@colm.net> | 2019-12-01 09:05:03 -0800 |
---|---|---|
committer | Adrian Thurston <thurston@colm.net> | 2019-12-01 09:05:03 -0800 |
commit | 5a4407de2c4c03083f1c25b5c7fdb849cdc08a12 (patch) | |
tree | 4436efeb998fd54de016723d92d74c400d48e070 /grammar/Makefile | |
parent | 479376c313208ee764d212846892cb904b8e5b89 (diff) | |
download | colm-5a4407de2c4c03083f1c25b5c7fdb849cdc08a12.tar.gz |
moved grammars out to their own dirs
We also want some testing/validation support for each grammar. This dir will
get quite messy if we move files.
Diffstat (limited to 'grammar/Makefile')
-rw-r--r-- | grammar/Makefile | 18 |
1 files changed, 3 insertions, 15 deletions
diff --git a/grammar/Makefile b/grammar/Makefile index 35f244f5..21a2603a 100644 --- a/grammar/Makefile +++ b/grammar/Makefile @@ -1,18 +1,6 @@ -all: rust pcre pcre-colm dns +SUBDIRS = "rust pcre dns" -RAGEL = ../ragel/ragel -COLM = ../colm/colm +all: rust pcre dns + for d in $(SUBDIRS); do cd $$d && $(MAKE); done -rust: rust.lm parserust.lm $(COLM) - $(COLM) -o rust parserust.lm -pcre: pcre.rl $(RAGEL) - $(RAGEL) -G2 pcre.rl - gcc -g -Wall -o pcre pcre.c - -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 |