From: Oliver Schmidt
Date: Mon, 29 Apr 2013 14:01:00 +0000 (+0300)
Subject: Made compatible with GNU make 3.81
X-Git-Tag: V2.14~49
X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=18e00a1f9bfc489c080f47250237c85dc704597d;p=cc65
Made compatible with GNU make 3.81
---
diff --git a/src/Makefile b/src/Makefile
index 976dd40df..b97291f3b 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -38,7 +38,7 @@ uninstall:
##########
-define INSTALL_recipe =
+define INSTALL_recipe
ln -s $(abspath ../bin/$(prog)) /usr/local/bin/$(prog)
@@ -46,7 +46,7 @@ endef
##########
-define UNINSTALL_recipe =
+define UNINSTALL_recipe
$(RM) /usr/local/bin/$(prog)
@@ -54,7 +54,7 @@ endef
##########
-define OBJS_template =
+define OBJS_template
$(1)_OBJS := $$(addprefix ../wrk/,$$(addsuffix .o,$$(basename $$(wildcard $(1)/*.c))))
@@ -69,7 +69,7 @@ endef
##########
-define PROG_template =
+define PROG_template
$$(eval $$(call OBJS_template,$(1)))