comp.lang.c
[Top] [All Lists]

Re: A Problem with Batch Compiling using Makefile

Subject: Re: A Problem with Batch Compiling using Makefile
From: Tim H
Date: Fri, 28 Mar 2008 23:30:20 -0700 PDT
Newsgroups: comp.lang.c, comp.lang.c++

On Mar 28, 11:24 pm, "Z.L." <bath...@xxxxxxxxx> wrote:

> There are one directory containing many .C files. I am trying to write
> a makefile to compile all the C files and for each C file  there is a
> binary file output with same name.

This is the default behavior of make.  You should be able to get away
with something as simple as:

        all: a b c

Note: this is off topic for this group


<Prev in Thread] Current Thread [Next in Thread>
Privacy Policy