emacs-elpa-diffs
[Top][All Lists]
Advanced

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

[nongnu] elpa/emacsql d03c1a606f 392/427: Include optional .config.mk in


From: ELPA Syncer
Subject: [nongnu] elpa/emacsql d03c1a606f 392/427: Include optional .config.mk in Makefile
Date: Tue, 13 Dec 2022 03:00:15 -0500 (EST)

branch: elpa/emacsql
commit d03c1a606f88bd832d3d508526ab5a6e1b551762
Author: Jonas Bernoulli <jonas@bernoul.li>
Commit: Jonas Bernoulli <jonas@bernoul.li>

    Include optional .config.mk in Makefile
---
 .gitignore | 1 +
 Makefile   | 8 +++++---
 2 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/.gitignore b/.gitignore
index 2a67464405..4c4e0f9231 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
 *.elc
 *.tar
 sqlite/emacsql-sqlite
+/.config.mk
diff --git a/Makefile b/Makefile
index 19729e29e7..dd4e900980 100644
--- a/Makefile
+++ b/Makefile
@@ -1,3 +1,5 @@
+-include .config.mk
+
 # Clone the dependencies of this package in sibling directories:
 #     $ git clone https://github.com/cbbrowne/pg.el ../pg
 #
@@ -6,9 +8,9 @@
 
 .POSIX:
 .SUFFIXES: .el .elc
-EMACS   = emacs
-LDFLAGS = -L ../pg
-BATCH   = $(EMACS) -batch -Q -L . -L tests $(LDFLAGS)
+EMACS   ?= emacs
+LDFLAGS ?= -L ../pg
+BATCH    = $(EMACS) -batch -Q -L . -L tests $(LDFLAGS)
 
 EL = emacsql-compiler.el \
      emacsql.el \



reply via email to

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