Issue with Makefile compilation

All,

I am facing problem with one makefile compilation. The following is the error I am getting

<Code>
/applns/ora10/rdbms/bin/proc sqlcheck=semantics userid=/ CHAR_MAP=VARCHAR2 DBMS=V7 DEFINE=UNIX DEFINE=SUN_SRC_COMPAT iname=mm5900.pc
sh: /applns/ora10/rdbms/bin/proc: not found
*** Error code 1
make: Fatal error: Command failed for target `mm085900.o'
</Code>

Here its refering the oracle path as "/applns/ora10/rdbms/bin/proc" which is invalid.

The actual path should be like "/applns/ora10/bin/proc"

I dont understand from where its taking that "rdbms" in to that path.

I have given path for the PROC in the make file as
<Code>
# Executables built by this makefile
PROC=$(ORACLE_HOME)/bin/proc
all: mm5900
</Code>

In the profile ORACLE_HOME is set as "/applns/ora10/".

Any suggestions are appreciated.

Thanks in advance

N.Surendran

Duplicate thread. - http://www.unix.com/unix-dummies-questions-answers/46001-issue-makefile-compilation.html\#post302148539