Some syntax in your makefile is not right. It thinks you are trying to compile libclntsh which you should never do.
You need to post the .pc: block from your makefile
Example:
Code:
.pc:
@ rm -f make.log
$(PROC) iname=$*.pc $(PROFLAGS)
$(CC) $(CFLAGS) $*.c -o $* $(LDFLAGS) $(LOBJS) $(ULIBS) $(LLIBS) $(CCOPT)
@ echo "Successful Compilation of $*.pc"
@ echo " "