The steps used to compile and link your C/C++ application vary depending on the environment chosen. The example makefile shown may require modifications to work in your environment.
Note: Setup the compiler environment before executing the makefile using %VS100COMNTOOLS%vsvars32.bat for Visual Studio 2010 and %VS110COMNTOOLS%vsvars32.bat for Visual Studio 2012. If building a 64-bit application, you will also need to execute %VSINSTALLDIR%vcvarsall.bat x64.
|
Description |
Example Makefile |
|---|---|
|
Clean up previous files and set command values. |
ALL : "cproxy.obj" "cproxy.exe" makeok
-@erase "cproxy.pdb" -@erase "cproxy.sbr" |
|
Dependencies - this is definitely not required in the standard makefile, but is shown here for completeness. |
CPP_DEP=\ |
|
Compile definition |
.c .obj:: |
|
Link definition - The libraries you link with are csuxxn.lib and pxrtxxn.lib in the CA Gen directory. Note: xx refers to the current release of CA Gen. For the current release number, see the Release Notes. Note: YYY refers to either X86 for 32-bit or X64 for 64-bit. |
LINK32=link.exe LINK32_OBJS="cproxy.obj" |
|
Executable definition |
"cproxy.exe": $(LINK32_OBJS) $(CPP_DEP) |
|
Completion message |
makeok : |
|
Copyright © 2015 CA Technologies.
All rights reserved.
|
|