Recompiling a source multiple times

2014-03-30 Thread Balaji, Pavan
Hello, I’m looking for a way to recompile the same source file multiple times with different flags and adding them into a single library. Currently, I’m doing this: 8 lib_foo_la_CPPFLAGS = -DBUILD_FOO lib_foo_la_SOURCES = a.c b.c lib_bar_la_CPPFLAGS = -DBUILD_BAR lib_bar_la_SOURCES =

Re: Recompiling a source multiple times

2014-03-30 Thread Peter Johansson
On 03/31/2014 02:45 AM, Balaji, Pavan wrote: Hello, I’m looking for a way to recompile the same source file multiple times with different flags and adding them into a single library. Currently, I’m doing this: 8 lib_foo_la_CPPFLAGS = -DBUILD_FOO lib_foo_la_SOURCES = a.c b.c