diff options
author | Arun Isaac | 2022-01-05 13:41:33 +0530 |
---|---|---|
committer | Arun Isaac | 2022-01-05 13:41:33 +0530 |
commit | 152b6ad06b6138597e03effd70490fbec374f22e (patch) | |
tree | 885d823914fc8155a2f1655889211699d8fdf40e | |
parent | 8eb8058405c1f0495d93a6789c1153a9d028cbd6 (diff) | |
download | kolam-152b6ad06b6138597e03effd70490fbec374f22e.tar.gz kolam-152b6ad06b6138597e03effd70490fbec374f22e.tar.lz kolam-152b6ad06b6138597e03effd70490fbec374f22e.zip |
Makefile: Abstract out project name.
* Makefile (project): New variable.
(sources, scmdir, godir): Use project.
-rw-r--r-- | Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -17,17 +17,19 @@ # License along with kolam. If not, see # <http://www.gnu.org/licenses/>. +project = kolam + include Makefile.include GUILE = guile GUILD = guild EMACS = emacs -sources = $(wildcard kolam/*.scm) +sources = $(wildcard $(project)/*.scm) objects = $(sources:.scm=.go) -scmdir = $(datarootdir)/guile/site/$(guile_effective_version)/kolam -godir = $(libdir)/guile/$(guile_effective_version)/site-ccache/kolam +scmdir = $(datarootdir)/guile/site/$(guile_effective_version)/$(project) +godir = $(libdir)/guile/$(guile_effective_version)/site-ccache/$(project) all: $(objects) |