summaryrefslogtreecommitdiff
path: root/ragel/host-d/Makefile.am
diff options
context:
space:
mode:
authorAdrian Thurston <thurston@colm.net>2020-01-09 17:23:58 +0200
committerAdrian Thurston <thurston@colm.net>2020-01-09 17:47:18 +0200
commit02e94c41cb049ba3e083234737685191057e24d0 (patch)
tree24102e9b1287098ba21ea73ac977409a93469559 /ragel/host-d/Makefile.am
parent4525ffd0ab1dff0e49b84cf1c6baa9ed4b3dda35 (diff)
downloadcolm-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.am13
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 $@ $<