From 2f8ba7fc74848de65a2edfc88984438ab1a1aa8d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A5ns=20Rullg=C3=A5rd?= Date: Mon, 8 Mar 2010 18:43:29 +0000 Subject: Define HAVE_AV_CONFIG_H when building test apps Originally committed as revision 22330 to svn://svn.ffmpeg.org/ffmpeg/trunk --- subdir.mak | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'subdir.mak') diff --git a/subdir.mak b/subdir.mak index db0d8763f7..30feab7d85 100644 --- a/subdir.mak +++ b/subdir.mak @@ -5,7 +5,7 @@ include $(SUBDIR)../common.mak LIBVERSION := $(lib$(NAME)_VERSION) LIBMAJOR := $(lib$(NAME)_VERSION_MAJOR) -$(OBJS): CPPFLAGS += -DHAVE_AV_CONFIG_H +$(OBJS) $(SUBDIR)%-test.o: CPPFLAGS += -DHAVE_AV_CONFIG_H ifdef CONFIG_STATIC all: $(SUBDIR)$(LIBNAME) @@ -29,10 +29,10 @@ $(SUBDIR)%$(EXESUF): $(SUBDIR)%.o $$(LD) $(FFLDFLAGS) -o $$@ $$^ -l$(FULLNAME) $(FFEXTRALIBS) $$(ELIBS) $(SUBDIR)%-test.o: $(SUBDIR)%.c - $$(CC) $(CPPFLAGS) $(CFLAGS) -DTEST -c $$(CC_O) $$^ + $$(CC) $$(CPPFLAGS) $(CFLAGS) -DTEST -c $$(CC_O) $$^ $(SUBDIR)%-test.o: $(SUBDIR)%-test.c - $$(CC) $(CPPFLAGS) $(CFLAGS) -DTEST -c $$(CC_O) $$^ + $$(CC) $$(CPPFLAGS) $(CFLAGS) -DTEST -c $$(CC_O) $$^ $(SUBDIR)x86/%.o: $(SUBDIR)x86/%.asm $$(YASMDEP) $(YASMFLAGS) -I $$( $$(@:.o=.d) -- cgit v1.2.3