aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorArun Isaac2024-09-13 03:29:22 +0100
committerArun Isaac2024-09-13 03:31:43 +0100
commitd611d990b297b3d573d7d5af83e9376744d51dd5 (patch)
tree7aaced2c3642c124093b38ba772d56b69ec9f552 /Makefile
parent612c4d1c7319b5d748a68c8e8226db65cb026686 (diff)
downloadravanan-d611d990b297b3d573d7d5af83e9376744d51dd5.tar.gz
ravanan-d611d990b297b3d573d7d5af83e9376744d51dd5.tar.lz
ravanan-d611d990b297b3d573d7d5af83e9376744d51dd5.zip
config: Remove.
* Makefile (config_file): Delete variable. (sources): Remove $(config_file). (all, %.go): Do not depend on $(config_file). (clean): Do not delete $(config_file). * ravanan/config.scm, ravanan/config.scm.in: Delete files. * ravanan/command-line-tool.scm: Do not import (ravanan config).
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 4 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index 1eaecfa..718c677 100644
--- a/Makefile
+++ b/Makefile
@@ -31,10 +31,8 @@ libdir ?= $(prefix)/lib
guile_effective_version = 3.0
top_level_module_dir = $(project)
-config_file = $(top_level_module_dir)/config.scm
sources = $(wildcard $(top_level_module_dir)/*.scm) \
- $(wildcard $(top_level_module_dir)/work/*.scm) \
- $(config_file)
+ $(wildcard $(top_level_module_dir)/work/*.scm)
objects = $(sources:.scm=.go)
scripts = $(wildcard bin/*)
tests = $(wildcard tests/*.scm) $(wildcard tests/work/*.scm)
@@ -44,12 +42,12 @@ godir = $(libdir)/guile/$(guile_effective_version)/site-ccache
.PHONY: all clean install
-all: $(objects) $(config_file)
+all: $(objects)
%.scm: %.scm.in
$(SED) 's|@NODE@|$(NODE)|' $< > $@
-%.go: %.scm $(config_file)
+%.go: %.scm
GUILE_AUTO_COMPILE=0 $(GUILD) compile -L . -o $@ $<
check:
@@ -67,4 +65,4 @@ install: $(sources) $(objects) $(scripts)
done
clean:
- rm -f $(objects) $(config_file)
+ rm -f $(objects)