Topic
  • 1 reply
  • Latest Post - ‏2019-05-16T12:22:05Z by Yevo
shanz9903
shanz9903
355 Posts

Pinned topic Rhapsody in Linux makefile variable expansion

‏2019-05-15T09:09:08Z | linux

Hello,

I am generating a makefile in Rhapsody for Linux.

The makefilecontent contains various predefined variables beginning with $OM, eg:

$OMContextMacros

But the generated section looks like this -
#########################################
####### Context macros ##################

FLAGSFILE=
RULESFILE=
OMROOT=
RHPROOT=

CPP_EXT=.cpp
H_EXT=.h
OBJ_EXT=
EXE_EXT=
LIB_EXT=

INSTRUMENTATION=

TIME_MODEL=

TARGET_TYPE=Library

TARGET_NAME=QNX

all : $(TARGET_NAME)$(LIB_EXT) QNX.mak

TARGET_MAIN=MainQNX

LIBS=

INCLUDE_PATH=

ADDITIONAL_OBJS=

So most aren't being expanded correctly.
I at least need INCLUDE_PATH to work.

Can anyone guess why this might not be working for me?

 

 

Updated on 2019-05-15T09:27:07Z at 2019-05-15T09:27:07Z by shanz9903
  • Yevo
    Yevo
    344 Posts

    Re: Rhapsody in Linux makefile variable expansion

    ‏2019-05-16T12:22:05Z  

    It sounds like some corruption. Can you upload your model? Did you modify any properties?

    $OMContextMacros is a set of keywords. You can find their description in Rhapsody help. You can also replace it with this set (or some of them ) and see what will happen.

    Regards,

    V.