PWB May Record Incorrect Paths for Dependencies in Makefile

ID Number: Q67780

1.00 1.10 | 1.00 1.10

MS-DOS | OS/2

buglist1.00 buglist1.10

Summary:

Creating a program list with dependencies in directories other than

the project (makefile) directory may result in the Programmer's

WorkBench (PWB) version 1.0 and 1.1 recording the wrong paths to these

dependencies.

More Information:

The following steps illustrate the problem:

1. Create subdirectories named TEST and TESTA under the same

directory, with sample files FILE1.C in TEST and FILE2.C in TESTA.

2. Invoke PWB from the TESTA directory.

3. Create a program list.

4. Add FILE1.C and FILE2.C with full path.

5. Save the list.

The resulting makefile will contain the line:

OBJS = file2.c file1.c

The correct line should read:

OBJS = file2.c ..\TEST\file1.c

Changing the location of the project makefile or changing the names of

the subdirectories will generate the correct paths for dependencies in

the makefile.

Microsoft has confirmed this to be a problem in PWB versions 1.0 and

1.1. We are researching this problem and will post new information

here as it becomes available.