emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master 863b333: * test/Makefile.in (src/emacs-module-tests


From: Glenn Morris
Subject: [Emacs-diffs] master 863b333: * test/Makefile.in (src/emacs-module-tests.log): Out-of-tree fix.
Date: Tue, 13 Jun 2017 15:42:06 -0400 (EDT)

branch: master
commit 863b3335436be246fd00ad2aa264d474afc1c48c
Author: Glenn Morris <address@hidden>
Commit: Glenn Morris <address@hidden>

    * test/Makefile.in (src/emacs-module-tests.log): Out-of-tree fix.
---
 test/Makefile.in | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/test/Makefile.in b/test/Makefile.in
index 4998338..5d8ec65 100644
--- a/test/Makefile.in
+++ b/test/Makefile.in
@@ -202,10 +202,9 @@ endif
 MODULE_CFLAGS = -I$(srcdir)/../src $(FPIC_CFLAGS) $(PROFILING_CFLAGS) \
   $(WARN_CFLAGS) $(WERROR_CFLAGS) $(CFLAGS)
 
-test_module_name := address@hidden@
-test_module := $(test_module_dir)/$(test_module_name)
-$(srcdir)/src/emacs-module-tests.log: $(test_module)
-$(test_module): $(test_module_dir)/mod-test.c $(srcdir)/../src/emacs-module.h
+test_module = $(test_module_dir)/mod-test${SO}
+src/emacs-module-tests.log: $(test_module)
+$(test_module): $(test_module:${SO}=.c) $(srcdir)/../src/emacs-module.h
        $(AM_V_CCLD)$(CC) -shared $(CPPFLAGS) $(MODULE_CFLAGS) $(LDFLAGS) \
          -o $@ $<
 endif



reply via email to

[Prev in Thread] Current Thread [Next in Thread]