diff options
author | Adrian Thurston <thurston@colm.net> | 2020-01-09 17:23:58 +0200 |
---|---|---|
committer | Adrian Thurston <thurston@colm.net> | 2020-01-09 17:47:18 +0200 |
commit | 02e94c41cb049ba3e083234737685191057e24d0 (patch) | |
tree | 24102e9b1287098ba21ea73ac977409a93469559 /ragel/host-d/Makefile.am | |
parent | 4525ffd0ab1dff0e49b84cf1c6baa9ed4b3dda35 (diff) | |
download | colm-02e94c41cb049ba3e083234737685191057e24d0.tar.gz |
colm: modified calling convention for colm wrapper
Changed the calling convention for colm-wrap (formerly colm-pack) so that we
can substitute the colm program, once packing is implemented there. Makes the
new wrapper args compatible with the existing args for the colm binary.
refs #85
Diffstat (limited to 'ragel/host-d/Makefile.am')
-rw-r--r-- | ragel/host-d/Makefile.am | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/ragel/host-d/Makefile.am b/ragel/host-d/Makefile.am index ba8c7f62..aae8d6fe 100644 --- a/ragel/host-d/Makefile.am +++ b/ragel/host-d/Makefile.am @@ -1,8 +1,8 @@ COLM_BIN = ../../colm/colm -COLM_PACK = ../../colm/colm-pack +COLM_WRAP = ../../colm/colm-wrap COLM_LA = ../../colm/libcolm.la COLM_LIBDEP = $(COLM_LA) -COLM_BINDEP = $(COLM_BIN) $(COLM_PACK) +COLM_BINDEP = $(COLM_BIN) $(COLM_WRAP) bin_PROGRAMS = ragel-d @@ -20,14 +20,13 @@ BUILT_SOURCES = rlparse.c rlreduce.cc rlhc.c EXTRA_DIST = rlparse.lm rlhc.lm rlparse.pack: rlparse.lm $(COLM_BINDEP) - $(COLM_PACK) colm -p rlparse.pack \ - -I.. -c -b rlparseD -o rlparse.c -m rlreduce.cc $< + $(COLM_WRAP) -c -I .. -b rlparseD -o $@ -p rlparse.c -m rlreduce.cc $< rlparse.c: rlparse.pack - $(COLM_PACK) unpack -o $@ $< + $(COLM_WRAP) -o $@ $< rlreduce.cc: rlparse.pack - $(COLM_PACK) unpack -o $@ $< + $(COLM_WRAP) -o $@ $< rlhc.c: rlhc.lm ../ril.lm $(COLM_BINDEP) - $(COLM_BIN) -I.. -c -b rlhcD -o $@ $< + $(COLM_BIN) -c -I .. -b rlhcD -o $@ $< |