qcenv.hlp (Topic list)
Set Program List (4 of 4)
The Set Program List command creates a program list file,
which defines the components of a multimodule program. By
default, program list files have the .MAK extension.
 
A program list may contain the following types of files:
   ■ Include files (.H, .INC)
   ■ Source files (.C, .ASM)
   ■ Object files (.OBJ)
   ■ Library files (.LIB)
 
The Build Program and Rebuild All commands use the program
list to find out which files belong to the program.
Set the name of the program list file from the dialog box:
┌─────────────────────────────────┐
│ File Name: ▒▒▒▒.mak ───────────│─┐
│                                 │ ■ Type a new file name
│ C:\XXX ──current directory     │   (program.mak) here,
│                                 │   OR
│ File List:          Drives/Dirs │
│ ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒    ▒▒▒▒▒▒▒▒▒▒▒ │ ■ Select an existing
│ ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒    ▒▒▒▒▒▒▒▒▒▒▒ │   file name (*.mak)
│        ▲                        │ │
│        └────────────────────────│─┘
└─────────────────────────────────┘ ■ Choose <OK>
If the file does not exist, QuickC asks whether to create
it. If you answer <Yes>, QuickC displays the Program List
dialog box. Complete the box to create the list.
Use the Program List dialog box to create and edit the
program list. QuickC gives the executable file the same
name as the program list, but with the .EXE extension.
┌───────────────────────────────────────────────────┐
│File Name: ░░░░░░░░  ─── Text box                 │
│xxxxxxxxx  ───────────── Current drive/directory  │
│                                                   │
│File List   Drives/Dirs                            │
│░░░░░░░░░░  ░░░░░░░░░░░ ─ General file listing    │
│                                                   │
│Program List *.mak ─ Name of program list file    │
│                                                   │
│░░░░░░░░░░ ─Files in       <Add/Delete> -Action  │
│             program list   <Clear All>  ─to take │
└───────────────────────────────────────────────────┘
To add a file to the program list, either
  ■ Type a file name in the text box and press ENTER
    OR
  ■ Highlight a file name in the File List box and select
    <Add/Delete>
 
To remove a file from the program list:
  ■ Highlight the file name in the Program List box, then
  ■ Select <Add/Delete>
 
To remove all the files from the program list:
  ■ Select <Clear All>