From 4974b4763bd60eb875f93a71dbe2fe82ecfed9fc Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Sat, 5 Sep 2009 16:29:23 +0200 Subject: Add semantic graph and traversal mechanism The parser now builds the semantic graph. --- tests/lexer/makefile | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'tests/lexer/makefile') diff --git a/tests/lexer/makefile b/tests/lexer/makefile index 08859e8..7af0e62 100644 --- a/tests/lexer/makefile +++ b/tests/lexer/makefile @@ -18,12 +18,18 @@ driver := $(out_base)/driver test := $(out_base)/.test clean := $(out_base)/.clean +# Import. +# +$(call import,\ + $(scf_root)/import/libcutl/stub.make,\ + l: cutl.l,cpp-options: cutl.l.cpp-options) # Build. # -$(driver): $(cxx_obj) $(out_root)/cli/lexer.o +$(driver): $(cxx_obj) $(out_root)/cli/lexer.o $(cutl.l) -$(cxx_obj) $(cxx_od): cpp_options := -I$(src_base) -I$(src_root) +$(cxx_obj) $(cxx_od): cpp_options := -I$(src_base) -I$(src_root)/cli +$(cxx_obj) $(cxx_od): $(cutl.l.cpp-options) $(call include-dep,$(cxx_od)) -- cgit v1.1