Author Topic: name of source file variable when compiling single file in makefiel project  (Read 2527 times)

sheamus

  • Guest
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