Re: [libav-devel] [PATCH] build: add rule to generate preprocessed source files

2012-10-19 Thread Diego Biurrun
On Sat, Oct 13, 2012 at 12:17:28PM +0100, Mans Rullgard wrote: > > --- a/library.mak > +++ b/library.mak > @@ -15,12 +15,16 @@ $(SUBDIR)%-test.o: $(SUBDIR)%-test.c > $(SUBDIR)%-test.o: $(SUBDIR)%.c > $(COMPILE_C) > > +$(SUBDIR)%-test.i: $(SUBDIR)%.c > + $(CC) $(CCFLAGS) $(CC_E) $< We

[libav-devel] [PATCH] build: add rule to generate preprocessed source files

2012-10-13 Thread Mans Rullgard
This is useful for debugging. Dependencies for these files are not generated due to limitations in many compilers. Signed-off-by: Mans Rullgard --- Makefile| 3 +++ configure | 1 + library.mak | 8 ++-- 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefi