about summary refs log tree commit diff
path: root/src/libexpr
diff options
context:
space:
mode:
Diffstat (limited to 'src/libexpr')
-rw-r--r--src/libexpr/Makefile5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/libexpr/Makefile b/src/libexpr/Makefile
index c6ed7d14b9bf..de276aa65296 100644
--- a/src/libexpr/Makefile
+++ b/src/libexpr/Makefile
@@ -4,10 +4,7 @@ libexpr_NAME = libnixexpr
 
 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
+libexpr_SOURCES := $(wildcard $(d)/*.cc) $(d)/lexer-tab.cc $(d)/parser-tab.cc
 
 libexpr_LIBS = libutil libstore libformat