OSDN Git Service

Add YASMDEP variable; use for deps on yasm files
authorMåns Rullgård <mans@mansr.com>
Sat, 6 Mar 2010 17:14:06 +0000 (17:14 +0000)
committerMåns Rullgård <mans@mansr.com>
Sat, 6 Mar 2010 17:14:06 +0000 (17:14 +0000)
Originally committed as revision 22239 to svn://svn.ffmpeg.org/ffmpeg/trunk

configure
subdir.mak

index 902332f..de881b9 100755 (executable)
--- a/configure
+++ b/configure
@@ -2966,6 +2966,7 @@ AS=$as
 LD=$ld
 DEPCC=$dep_cc
 YASM=$yasmexe
+YASMDEP=$yasmexe
 AR=$ar
 RANLIB=$ranlib
 LN_S=$ln_s
index ea91f3f..5774c6d 100644 (file)
@@ -31,7 +31,7 @@ $(SUBDIR)%-test.o: $(SUBDIR)%-test.c
        $(CC) $(CPPFLAGS) $(CFLAGS) -DTEST -c $$(CC_O) $$^
 
 $(SUBDIR)x86/%.o: $(SUBDIR)x86/%.asm
-       $(YASM) $(YASMFLAGS) -I $$(<D)/ -M -o $$@ $$< > $$(@:.o=.d)
+       $(YASMDEP) $(YASMFLAGS) -I $$(<D)/ -M -o $$@ $$< > $$(@:.o=.d)
        $(YASM) $(YASMFLAGS) -I $$(<D)/ -o $$@ $$<
 
 clean::