Package: runlim / 1.10-5

runlim-makefile.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
From: Thomas Krennwallner <tkren@kr.tuwien.ac.at>
Date: Sun, 27 Nov 2016 09:06:37 +0100
Subject: add hand-crafted Makefile for LDFLAGS injection

===================================================================
---
 Makefile | 4 ++++
 1 file changed, 4 insertions(+)
 create mode 100644 Makefile

diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..121ed3d
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,4 @@
+runlim: CPPFLAGS += -DVERSION=\"$(shell cat VERSION)\"
+runlim: runlim.c
+.PHONY: clean
+clean: ; rm -f runlim