# Template makeoptionfile to build SDT R-T library 'MySpecialSDTLibrary'. # Copy this file to your library-build directory, and modify it to your needs. # The 'make' may now be run from your library-build directory as follows: # nmake /f ..\path_to_run-time-source_directory\Makefile SDTlib # to build a run-time library without environment, or # nmake /f ..\path_to_run-time-source_directory\Makefile SDTlibE to # build a library with a dummy environment module. # # sctLIBNAME = MySpecialSDTLibrary # String to identify this makeoption file # sctIFDEF = -DSCTDEBCOM -DIC86 -D_Windows # The definitions to be replaced above are found in scttypes.h # Example: -DSCTlibrarydefinition -Dcompilerdefinition sctEXTENSION = _smc.exe # Set this extension to the generated executable filename # Example: _smc.exe for a simulator generated by compiler 'cl' # - - sctOEXTENSION = _smc.obj # objectfile extension, as above sctuseinclude = . # The generated makefile(s) will look here for *.h files. sctlinkdir = . # This is your library-build directory. sctLINKKERNEL = $(sctlinkdir)\sctworld.lib # This is the default name for the created SDT R-T library. sctCC = cl # C-compiler is set to 'cl'. sctCPPFLAGS = -I$(sctuseinclude) # Compiler needs to know where to find *.h files. sctCCFLAGS = -c -ML # Run compilation with optimization pass. # Use single-threaded run-time library sctLD = lib # Use 'lib' for final system linking. sctLDFLAGS = -subsystem:console # Options to pass to final system linker. sctLIBFLAGS = # Surpress symbol visibility in pre-linked library.