diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2022-03-04 00:48:52 +0100 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2022-03-04 13:08:39 +0100 |
commit | 45de89eb99acb2631f81dda72080245c5a17e729 (patch) | |
tree | a5386308f18e9bba16f9724f871c68b22239c946 /Makefile | |
parent | Explicitly format unbound-variable errors. (diff) | |
download | calp-45de89eb99acb2631f81dda72080245c5a17e729.tar.gz calp-45de89eb99acb2631f81dda72080245c5a17e729.tar.xz |
Tests now use our local compiled files.
Previously there was a bunch of errors with the tests, where they tried
to compile everything automatically, which usually went rather poorly
due to it being in --debug mode.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -13,7 +13,7 @@ GUILE_C_FLAGS = -Lmodule \ -Wmacro-use-before-definition -Warity-mismatch \ -Wduplicate-case-datum -Wbad-case-datum -all: $(GO_FILES) README static +all: go_files README static static: $(MAKE) -C static @@ -23,8 +23,10 @@ obj/%.go: module/%.scm @echo guild compile $< @guild compile $(GUILE_C_FLAGS) -o $@ $< +go_files: $(GO_FILES) + clean: - $(MAKE) -C static clean + -$(MAKE) -C static clean -rm -r obj install: all @@ -40,7 +42,7 @@ install: all README: README.in ./main text < README.in | sed "s/<<today>>/`date -I`/" > README -test: +test: go_files tests/run-tests.scm $(MAKE) coverage |