mirror of
https://github.com/NixOS/nix
synced 2025-06-27 08:31:16 +02:00
Rename $(here) to $(d) for brevity, and remove trailing slash
This commit is contained in:
parent
9a14d5e2f3
commit
754c05ed6c
12 changed files with 49 additions and 39 deletions
|
@ -1,14 +1,14 @@
|
|||
LIBS += libexpr
|
||||
|
||||
libexpr_DIR := $(here)
|
||||
libexpr_DIR := $(d)
|
||||
|
||||
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
|
||||
$(d)/parser-tab.cc $(d)/parser-tab.hh: $(d)/parser.y
|
||||
bison -v -o $(libexpr_DIR)/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 $<
|
||||
$(d)/lexer-tab.cc $(d)/lexer-tab.hh: $(d)/lexer.l
|
||||
flex --outfile $(libexpr_DIR)/lexer-tab.cc --header-file=$(libexpr_DIR)/lexer-tab.hh $<
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue