Made compatible with GNU make 3.81

This commit is contained in:
Oliver Schmidt
2013-04-29 17:01:00 +03:00
parent 815854c514
commit 18e00a1f9b

View File

@@ -38,7 +38,7 @@ uninstall:
########## ##########
define INSTALL_recipe = define INSTALL_recipe
ln -s $(abspath ../bin/$(prog)) /usr/local/bin/$(prog) 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) $(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)))) $(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))) $$(eval $$(call OBJS_template,$(1)))