Solved

Makefile Question

Posted on 2004-10-18
1
311 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 

Accepted Solution

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

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Does the idea of dealing with bits scare or confuse you? Does it seem like a waste of time in an age where we all have terabytes of storage? If so, you're missing out on one of the core tools in every professional programmer's toolbox. Learn how to …
In this post we will learn how to make Android Gesture Tutorial and give different functionality whenever a user Touch or Scroll android screen.
Introduction to Processes
Starting up a Project

687 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