From 62508d6891f22d01fd9494676951008764ef9ead Mon Sep 17 00:00:00 2001 From: Corey Farrell Date: Mon, 13 Apr 2015 06:28:32 -0400 Subject: Build System: Create Makefile macro MOD_ADD_SOURCE. This new macro allows a single line to add all additional sources to a module. This helps prevent modules from missing steps, and makes future changes easier since they can be made in a single place. ASTERISK-24960 #close Reported by: Corey Farrell Change-Id: I38f12d8b72c5e7bb37a879b2fb51761a2855eb4b --- rest-api-templates/ari.make.mustache | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'rest-api-templates') diff --git a/rest-api-templates/ari.make.mustache b/rest-api-templates/ari.make.mustache index 50293cf11..82f55ccf0 100644 --- a/rest-api-templates/ari.make.mustache +++ b/rest-api-templates/ari.make.mustache @@ -19,8 +19,5 @@ # {{#apis}} -res_ari_{{c_name}}.so: ari/resource_{{c_name}}.o - -ari/resource_{{c_name}}.o: _ASTCFLAGS+=$(call MOD_ASTCFLAGS,res_ari_{{c_name}}) - +$(call MOD_ADD_C,res_ari_{{c_name}},ari/resource_{{c_name}}.c) {{/apis}} -- cgit v1.2.3