From 8c5239b382519a12a74019849cf9d855a9afa2eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A5ns=20Rullg=C3=A5rd?= Date: Tue, 9 Mar 2010 14:58:15 +0000 Subject: [PATCH] Move some make rules outside of eval'd block These rules use only global variables and thus do not need to be expanded. Originally committed as revision 22393 to svn://svn.ffmpeg.org/ffmpeg/trunk --- subdir.mak | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/subdir.mak b/subdir.mak index 44e1505a47..e55189b298 100644 --- a/subdir.mak +++ b/subdir.mak @@ -7,6 +7,16 @@ LIBMAJOR := $(lib$(NAME)_VERSION_MAJOR) INCINSTDIR := $(INCDIR)/lib$(NAME) THIS_LIB := $(SUBDIR)$($(CONFIG_SHARED:yes=S)LIBNAME) +$(SUBDIR)%-test.o: $(SUBDIR)%.c + $(CC) $(CPPFLAGS) $(CFLAGS) -DTEST -c $(CC_O) $^ + +$(SUBDIR)%-test.o: $(SUBDIR)%-test.c + $(CC) $(CPPFLAGS) $(CFLAGS) -DTEST -c $(CC_O) $^ + +$(SUBDIR)x86/%.o: $(SUBDIR)x86/%.asm + $(YASMDEP) $(YASMFLAGS) -I $( $(@:.o=.d) + $(YASM) $(YASMFLAGS) -I $( $$(@:.o=.d) - $$(YASM) $(YASMFLAGS) -I $$(