User forums > Help

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

(1/1)

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

Navigation

[0] Message Index

Go to full version