Solved

Makefile Question

Posted on 2004-10-18
1
281 Views
Last Modified: 2011-09-20
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?
0
Comment
Question by:danlarkin
1 Comment
 

Accepted Solution

by:
pixitron earned 50 total points
ID: 12346204
well you can split over several lines using \
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Here we come across an interesting topic of coding guidelines while designing automation test scripts. The scope of this article will not be limited to QTP but to an overall extent of using VB Scripting for automation projects. Introduction Now…
This is about my first experience with programming Arduino.
An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now