diff options
author | Arun Isaac | 2022-01-05 15:31:22 +0530 |
---|---|---|
committer | Arun Isaac | 2022-01-05 15:31:22 +0530 |
commit | 8945df6697ce1be5bbab0a752e8ddc440f96d2c3 (patch) | |
tree | c6f400a9169db370762ea33ed92d6c1d9ff3c03e /Makefile | |
parent | d9a5f8c13f123d0d5479b9a1100d05de46c00006 (diff) | |
download | kolam-8945df6697ce1be5bbab0a752e8ddc440f96d2c3.tar.gz kolam-8945df6697ce1be5bbab0a752e8ddc440f96d2c3.tar.lz kolam-8945df6697ce1be5bbab0a752e8ddc440f96d2c3.zip |
Makefile: Differentiate project name and top level module directory.
* Makefile (top_level_module_dir): New variable.
(sources, scmdir, godir): Use top_level_module_dir instead of project.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -25,11 +25,12 @@ GUILE = guile GUILD = guild EMACS = emacs -sources = $(wildcard $(project)/*.scm) +top_level_module_dir = $(project) +sources = $(wildcard $(top_level_module_dir)/*.scm) objects = $(sources:.scm=.go) -scmdir = $(datarootdir)/guile/site/$(guile_effective_version)/$(project) -godir = $(libdir)/guile/$(guile_effective_version)/site-ccache/$(project) +scmdir = $(datarootdir)/guile/site/$(guile_effective_version)/$(top_level_module_dir) +godir = $(libdir)/guile/$(guile_effective_version)/site-ccache/$(top_level_module_dir) all: $(objects) |