help-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: one makefile for many programs


From: Mike Frysinger
Subject: Re: one makefile for many programs
Date: Mon, 18 Jul 2005 15:01:34 -0400
User-agent: KMail/1.8.1

On Monday 18 July 2005 02:56 pm, Fred J. wrote:
> I am learning c++ and happen to arrange my exercies
> solutions in one directory for each solution.
> since I am calling all my solution files main.cpp, I
> would like to use one makefile in the parent directory
> instead of copying the same makefile in each solution
> directory, how can I do it?

in subdir files, create a Makefile that simply includes the top level one:
include ../Makefile
-mike




reply via email to

[Prev in Thread] Current Thread [Next in Thread]