A simple *.PinkMake file

How do you determine which link files you need to specify in your *.PinkMake file? If you don't specify any link files, CreateMake links all library files. As you can imagine, this is not economical. Currently, the only way to determine which link files to include is by trial and error, and with a little help from FindSymbols. This section describes that process.

Consider this makefile description called JustAView.PinkMake. JustAView builds a shared library and an application binary. To link all library files, create JustAView.PinkMake like this:

    
    library JustAViewLib {
    source:
        MyView.C
    }
    
    binary JustAView {
    source:
        Main.C
    }

[Contents] [Previous] [Next]
Click the icon to mail questions or corrections about this material to Taligent personnel.
Copyright©1995 Taligent,Inc. All rights reserved.

Generated with WebMaker