Link to home
Start Free TrialLog in
Avatar of danlarkin
danlarkin

asked on

Makefile Question

Two simple questions about Makefiles.....

1. How can i put the object file in a directory other than the lovcation of the source file?

2. I list my soruce files like this:
src:= file1.cpp file2.cpp ......

however i have a large project and am using more than 20 files so this one line looks rather ugly. Is htere a neater way to do it than this? Can i at least split the line over several lines?
ASKER CERTIFIED SOLUTION
Avatar of pixitron
pixitron

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial