user1416780
user1416780

Reputation: 41

Is there a `clearmake` option to change make distant directory?

There is option in makefile as make -C /pathname (so it build the targeted path).

Is there anything similar in clearmake?

Upvotes: 1

Views: 652

Answers (1)

VonC
VonC

Reputation: 1324703

Yes, if you are using clearmake -C gnu.
See "makefile_gnu".

Supported GNU make command options

clearmake –C gnu supports most of the single-character and long-form spellings of GNU make command options, as follows:

  • -directory=dir
    Change to the specified directory before reading the makefiles.

(And that is fairly similar to the gnu make option -C:

  • -C dir
    --directory=dir
    Change to directory dir before reading the makefiles.
    If multiple ‘-C’ options are specified, each is interpreted relative to the previous one: ‘-C / -C etc’ is equivalent to ‘-C /etc’.
    This is typically used with recursive invocations of make (see Recursive Use of make).

)

Upvotes: 1

Related Questions