diff options
-rw-r--r-- | Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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) |