Commit d3a2126f authored by mru's avatar mru

Add YASMDEP variable; use for deps on yasm files

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@22239 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 2c606ba5
...@@ -2966,6 +2966,7 @@ AS=$as ...@@ -2966,6 +2966,7 @@ AS=$as
LD=$ld LD=$ld
DEPCC=$dep_cc DEPCC=$dep_cc
YASM=$yasmexe YASM=$yasmexe
YASMDEP=$yasmexe
AR=$ar AR=$ar
RANLIB=$ranlib RANLIB=$ranlib
LN_S=$ln_s LN_S=$ln_s
......
...@@ -31,7 +31,7 @@ $(SUBDIR)%-test.o: $(SUBDIR)%-test.c ...@@ -31,7 +31,7 @@ $(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 $(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 $$@ $$< $(YASM) $(YASMFLAGS) -I $$(<D)/ -o $$@ $$<
clean:: clean::
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment