This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: gcc problems with HP-UX 10.2



> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]