aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index d9c6c67..ae1b4ed 100644
--- a/Makefile
+++ b/Makefile
@@ -26,6 +26,7 @@ EMACS = emacs
top_level_module_dir = $(project)
sources = $(wildcard $(top_level_module_dir)/*.scm)
objects = $(sources:.scm=.go)
+tests = $(wildcard tests/*.scm)
scmdir = $(datarootdir)/guile/site/$(guile_effective_version)/$(top_level_module_dir)
godir = $(libdir)/guile/$(guile_effective_version)/site-ccache/$(top_level_module_dir)
@@ -36,8 +37,8 @@ all: $(objects)
$(GUILD) compile -L . -o $@ $<
.PHONY: check install clean
-check:
- $(GUILE) -L . tests/parse.scm
+check: $(tests)
+ $(GUILE) -L . $^
install: $(sources) $(objects)
install -D $(sources) --target-directory $(scmdir)