This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: gcc problems with HP-UX 10.2
- To: "Coutu, Alain Capt (CF) NSSF/SCOA" <Alain dot Coutu at 1staf dot tyndall dot af dot mil>
- Subject: Re: gcc problems with HP-UX 10.2
- From: Eric Christopher <echristo at redhat dot com>
- Date: Thu, 15 Feb 2001 09:36:54 -0800
- CC: "'gcc at gcc dot gnu dot org'" <gcc at gcc dot gnu dot org>
- References: <A58B8CDB94ADD3118AA400508B5505FFEFEACF@1af22.1staf.tyndall.af.mil>
> I understand your point but all looking at the command line, cc $(CFLAGS) -c
> $*.c -o $*.o, it compiles each of the c file individually or suppose to be.
>
Sounds like a make problem then. If you are using gnu-make I suggest
that you try the make help list: help-make@gnu.org
.c.o:
$(CC) -c $(CFLAGS) $<
Is generally the target I use when I want to take from .c to .o.
-eric