News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

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