Skip to content

OBJECT values in subdirs are created in the base dir #400

Open
@FGasper

Description

@FGasper

If I do:

WriteMakefile(
    # …
    OBJECT => [ 'foo/bar.o' ],
);

… then bar.o gets created in the base dir, not in foo/.

Note that this does compile foo/bar.c; it just doesn’t put the object file where it is meant to go.

This seems like pretty undesirable behaviour. It seems like it should be either fixed (i.e., put the object file where I said to put it) or at least documented.

If necessary, maybe make the fixed version an opt-in affair?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions