Add make rule to build hb.cc

Part of https://github.com/harfbuzz/harfbuzz/issues/1809
This commit is contained in:
Behdad Esfahbod 2019-07-02 14:26:45 -07:00
parent f1d20d9b4d
commit c073233f45
1 changed files with 6 additions and 0 deletions

View File

@ -303,6 +303,12 @@ $(srcdir)/%.hh: $(srcdir)/%.rl
$(AM_V_GEN)(cd $(srcdir) && $(RAGEL) -e -F1 -o "$*.hh" "$*.rl") \
|| ($(RM) "$@"; false)
hb.cc: Makefile.sources
$(AM_V_GEN) \
for f in $(HB_BASE_sources); do echo '#include "'$$f'"'; done | \
grep '[.]cc"' > $(srcdir)/hb.cc \
|| ($(RM) $(srcdir)/hb.cc; false)
noinst_PROGRAMS = \
main \
test \