mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-09-21 17:08:04 +03:00
15 lines
440 B
Makefile
15 lines
440 B
Makefile
LIBS += libexpr
|
|
|
|
libexpr_DIR := $(here)
|
|
|
|
libexpr_SOURCES = \
|
|
nixexpr.cc eval.cc primops.cc lexer-tab.cc parser-tab.cc \
|
|
get-drvs.cc attr-path.cc value-to-xml.cc value-to-json.cc \
|
|
common-opts.cc names.cc
|
|
|
|
$(here)parser-tab.cc $(here)parser-tab.hh: $(here)parser.y
|
|
bison -v -o $(here)parser-tab.cc $< -d
|
|
|
|
$(here)lexer-tab.cc $(here)lexer-tab.hh: $(here)lexer.l
|
|
flex --outfile $(here)lexer-tab.cc --header-file=$(here)lexer-tab.hh $<
|