Previous Next Up Title Contents Top Library

3.9.2. BUILDING APPLICATIONS

In the following example, the object files and libraries are linked to produce the application executable file. Note that the resource file (*.rbj) is linked along with the object files.

The following is a simple example of a linker command line (used in an inline response file):

# Build an executable (.exe) file

$(TARGET).exe : $(OBJS) $(TARGET).rbj

$(LINK) @<<

/out: $(TARGET).exe

/debug:notmapped,full

/debugtype:cv

/machine:$(MACHINE)

/subsystem:windows

$(LINK_FLAGS)

$(OBJS)

$(TARGET).rbj

$(LIBS)

<<


Previous Next Up Title Contents Top Library