make user defined function in SunOS 5.10
we are using make to do some files copy and backup jobs, and we used these user defined function:
coh_copy_sql=cp \$\${1}/admin/sql/\$\${2} \$\${1}/admin/sql/\$\${2}.${DMB}
$(call coh_copy_sql,COHOKC_TOP,COHOKS_EXPR_NOTIS_PKG.pkb)
it is working in linux environment. (ubuntu)
we try to put them into our SunOS system, and it is not working.
$uname -a
SunOS cxxxx01 5.10 Generic_147440-15 sun4v sparc sun4v
look like the version of make is different, most likely.
what is the equivalent syntax?
p/s: not sure if i posted to the correct community. pls advise if otherwise.