2016-04-12 17:14:54 +08:00
|
|
|
src := filter.c f-util.c tree.c trie.c
|
|
|
|
obj := $(src-o-files)
|
|
|
|
$(all-daemon)
|
|
|
|
$(cf-local)
|
2016-11-09 23:36:34 +08:00
|
|
|
|
2018-12-20 23:25:54 +08:00
|
|
|
M4FLAGS_FILTERS=$(filter-out -s,$(M4FLAGS))
|
|
|
|
|
|
|
|
$(o)f-inst-interpret.c: $(s)interpret.m4 $(s)f-inst.c
|
|
|
|
$(M4) $(M4FLAGS_FILTERS) -P $^ >$@
|
|
|
|
|
|
|
|
$(o)filter.o: $(o)f-inst-interpret.c
|
|
|
|
|
2016-11-09 23:36:34 +08:00
|
|
|
tests_src := tree_test.c filter_test.c trie_test.c
|
|
|
|
tests_targets := $(tests_targets) $(tests-target-files)
|
|
|
|
tests_objs := $(tests_objs) $(src-o-files)
|