Reputation: 41
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
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 directorydir
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 ofmake
(see Recursive Use ofmake
).
)
Upvotes: 1