Skip to content
Snippets Groups Projects
Commit a4aea515 authored by Måns Rullgård's avatar Måns Rullgård
Browse files

Add YASMDEP variable; use for deps on yasm files

Originally committed as revision 22239 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent bbe8fa1f
No related branches found
No related tags found
No related merge requests found
......@@ -2966,6 +2966,7 @@ AS=$as
LD=$ld
DEPCC=$dep_cc
YASM=$yasmexe
YASMDEP=$yasmexe
AR=$ar
RANLIB=$ranlib
LN_S=$ln_s
......
......@@ -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::
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment