summary refs log tree commit diff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 7268b8b..feee967 100644
--- a/Makefile
+++ b/Makefile
@@ -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)