diff options
author | Arun Isaac | 2022-01-05 15:51:33 +0530 |
---|---|---|
committer | Arun Isaac | 2022-01-05 16:24:22 +0530 |
commit | b85b48cf86d91ee0ff8ad6ea1aafcc7e79532049 (patch) | |
tree | e84b61da1b0360d7ff1ab4733c24e70fa2c37781 /Makefile | |
parent | 898e59dfa3db531542b556648d8ad029535886e3 (diff) | |
download | kolam-b85b48cf86d91ee0ff8ad6ea1aafcc7e79532049.tar.gz kolam-b85b48cf86d91ee0ff8ad6ea1aafcc7e79532049.tar.lz kolam-b85b48cf86d91ee0ff8ad6ea1aafcc7e79532049.zip |
Makefile: Abstract out test files.
* Makefile (tests): New variable.
(check): Depend on tests.
Diffstat (limited to 'Makefile')
-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) |