Euphoria Ticket #595: Translating with makefile and build-dir

When translating with the -makefile flag and the -build-dir flag, the makefile is written into the build-dir. However, the help string does not reflect the directory:

To build your project, type make -f my_app.mak 
It should say:
To build your project, type make -C my_build_dir -f my_app.mak 
I think Watcom's wmake also uses the -C flag to change the directory.

Details

Type: Bug Report Severity: Minor Category: Translator
Assigned To: SPringle Status: Fixed Reported Release:
Fixed in SVN #: View VCS: none Milestone: 4.0.1

1. Comment by SDPringle Feb 07, 2011

Watcom C doesn't use -C to change directories and it has no equivalent command which accounts for some of the differences between the way the GNU and Watcom makefiles are written.

2. Comment by jimcbrown Feb 07, 2011

So we have two separate bugs? That gnu make doesn't report the -C option and that we don't report "cd into <dir> and type wmake -f " for watcom's make?

Or is watcom's makefile dumped in the current dir, and thus different from the buildsys process for gnu make?

3. Comment by SDPringle Feb 17, 2011

In Windows, the translator puts the make file into the build directory. Just like on UNIX.

The message can instead say, "To build your project, change directory to my_build_dir and type wmake -f my_app.mak"

4. Comment by SDPringle Feb 17, 2011

fixed in 4276:ea535ef2db1d

Search



Quick Links

User menu

Not signed in.

Misc Menu