Solved

Makefile Question

Posted on 2004-10-18
1
271 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

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Suggested Solutions

Entering a date in Microsoft Access can be tricky. A typo can cause month and day to be shuffled, entering the day only causes an error, as does entering, say, day 31 in June. This article shows how an inputmask supported by code can help the user a…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
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 fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…

758 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

21 Experts available now in Live!

Get 1:1 Help Now