ESE447_82515.mk - Copyright 2008 Quanser Inc File...

This preview shows page 1 - 3 out of 9 pages.

# Copyright 2008 Quanser, Inc. # # File : quarc_win64.tmf $Revision: 1.0 $ # # Abstract: # Real-Time Workshop template makefile for building a standalone # QUARC real-time version of a Simulink model using generated # C code and the Microsoft Visual C/C++ compiler versions: 6.0, 7.1 # # Note that this template is automatically customized by the Real-Time # Workshop build procedure to create "<model>.mk" # # The following defines can be used to modify the behavior of the # build: # # OPT_OPTS - Optimization option. Default is -O2. To enable # debugging specify as OPT_OPTS=-Zd. # OPTS - User specific options. # CPP_OPTS - C++ compiler options. # USER_SRCS - Additional user sources, such as files needed by # S-functions. # USER_INCLUDES - Additional include paths # (i.e. USER_INCLUDES="-Iwhere-ever -Iwhere-ever2") # # This template makefile is designed to be used with a system target # file that contains 'rtwgensettings.BuildDirSuffix' see grt.tlc #------------------------ Macros read by make_rtw ----------------------------- # # The following macros are read by the Real-Time Workshop build procedure: # # MAKECMD - This is the command used to invoke the make utility # HOST - What platform this template makefile is targeted for # (i.e. PC or UNIX) # BUILD - Invoke make from the Real-Time Workshop build procedure # (yes/no)? # SYS_TARGET_FILE - Name of system target file. # BUILD_SUCCESS - String that is used to indicate that the build succeeded # COMPILER_TOOL_CHAIN - Compiler suite that is used to compile the code MAKECMD = nmake HOST = PC BUILD = yes SYS_TARGET_FILE = quarc_win64.tlc BUILD_SUCCESS = ^#^#^# Created COMPILER_TOOL_CHAIN = vcx64 #---------------------- Tokens expanded by make_rtw --------------------------- # # The following tokens, when wrapped with "|>" and "<|" are expanded by the # Real-Time Workshop build procedure. # # MODEL_NAME - Name of the Simulink block diagram # MODEL_MODULES - Any additional generated source modules # MAKEFILE_NAME - Name of makefile created from template makefile <model>.mk # MATLAB_ROOT - Path to were MATLAB is installed. # MATLAB_BIN - Path to MATLAB executable. # ALT_MATLAB_ROOT - Alternate path to were MATLAB is installed. Used when MATLAB_ROOT contains spaces. # ALT_MATLAB_BIN - Alternate path to MATLAB executable. Used when MATLAB_BIN contains spaces.
Image of page 1
# S_FUNCTIONS - List of S-functions. # S_FUNCTIONS_LIB - List of S-functions libraries to link. # SOLVER - Solver source file name # NUMST - Number of sample times # TID01EQ - yes (1) or no (0): Are sampling rates of continuous task # (tid=0) and 1st discrete task equal. # NCSTATES - Number of continuous states # BUILDARGS - Options passed in at the command line. # MULTITASKING - yes (1) or no (0): Is solver mode multitasking # MAT_FILE - yes (1) or no (0): generate a model.mat file? # EXT_MODE - yes (1) or no (0): Build for external mode # TMW_EXTMODE_TESTING - yes (1) or no (0): Build ext_test.c for external mode # testing. # EXTMODE_TRANSPORT - Index of transport mechanism (e.g. tcpip, serial) for extmode # EXTMODE_STATIC - yes (1) or no (0): Use static instead of dynamic mem alloc.
Image of page 2

Want to read all 9 pages?

Image of page 3

Want to read all 9 pages?

You've reached the end of your free preview.

Want to read all 9 pages?

  • Spring '10

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern