automake
[Top][All Lists]
Advanced

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

compiling different files with different C compilers


From: Vincent Torri
Subject: compiling different files with different C compilers
Date: Fri, 8 Jun 2012 00:35:16 +0200

Hey

suppose that my program is composed of 2 files f1.c and f2.c. f1.c is
written in C89 and f2.c in C99. I would like that f1.c is compiled
with a C89 compiler  and f2.c is compiled with a C99 compiler.

How can I achieve that in Makefile.am ?

Also, in configure.ac, which macro should I use ?  AC_PROG_CC ? AC_PROG_CC_C99 ?

thank you

Vincent Torri



reply via email to

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