From 4ee6001f95908578a1693c0fbf7b7fdc309b86c5 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Tue, 4 Feb 2014 11:02:49 +0100 Subject: GNU Make 3.81 compatibility MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 3.81 doesn't understand the ‘define foo =’ syntax, which was added in 3.82. So use ‘define foo’ instead. --- mk/programs.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mk/programs.mk') diff --git a/mk/programs.mk b/mk/programs.mk index 30539d129..74f2982a5 100644 --- a/mk/programs.mk +++ b/mk/programs.mk @@ -15,7 +15,7 @@ programs-list := # # - $(1)_INSTALL_DIR: the directory where the program will be # installed; defaults to $(bindir). -define build-program = +define build-program _d := $$($(1)_DIR) _srcs := $$(sort $$(foreach src, $$($(1)_SOURCES), $$(src))) $(1)_OBJS := $$(addsuffix .o, $$(basename $$(_srcs))) -- cgit v1.2.3