News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

name of source file variable when compiling single file in makefiel project

Started by sheamus, April 05, 2008, 02:47:36 AM

Previous topic - Next topic

sheamus

I have a makefile project (rake).  When I want to compile a single file, you pass it the name of the source file, and it determines where the .o goes. (backwards, I know).

$file gives me the name of the .o file, not the src file.

~S