summaryrefslogtreecommitdiff
path: root/NMakefile.template
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>2012-01-15 22:41:53 +0000
committerPaul Smith <psmith@gnu.org>2012-01-15 22:41:53 +0000
commitd32ee5974c8a3fdd65ee570bced7c867b2b679f3 (patch)
tree2e8bee26fd19820b85422752724e87639d1b0c77 /NMakefile.template
parent76c54f3a1d2a8d0d3902e464cc9180d9a9fbef7d (diff)
downloadmake-d32ee5974c8a3fdd65ee570bced7c867b2b679f3.tar.gz
Add GNU Guile as an optional embedded scripting language for make.
On configure-enabled systems, configure will detect Guile installed (using pkg-config, which is how GNU Guile is distributed) and enable it if so. On all non-configure-enabled systems, currently, the default is for Guile support to be disabled.
Diffstat (limited to 'NMakefile.template')
-rw-r--r--NMakefile.template5
1 files changed, 4 insertions, 1 deletions
diff --git a/NMakefile.template b/NMakefile.template
index 35fafbee..57a1d820 100644
--- a/NMakefile.template
+++ b/NMakefile.template
@@ -73,6 +73,8 @@ $(OUTDIR):
LIBS = kernel32.lib user32.lib advapi32.lib
+#guile = $(OUTDIR)/guile.obj
+
OBJS = \
$(OUTDIR)/ar.obj \
$(OUTDIR)/arscan.obj \
@@ -102,7 +104,8 @@ OBJS = \
$(OUTDIR)/glob.obj \
$(OUTDIR)/fnmatch.obj \
$(OUTDIR)/dirent.obj \
- $(OUTDIR)/pathstuff.obj
+ $(OUTDIR)/pathstuff.obj \
+ $(guile)
$(OUTDIR)/make.exe: $(OUTDIR) $(OBJS)
$(LINK) @<<