diff options
author | Måns Rullgård <mans@mansr.com> | 2009-08-23 15:02:32 +0400 |
---|---|---|
committer | Måns Rullgård <mans@mansr.com> | 2009-08-23 15:02:32 +0400 |
commit | b7c10b2a2b58c1164324d0ac0aea00a1e14b0d6a (patch) | |
tree | e99efd723793da1d7224edc48155f3ded3796cef | |
parent | 7bd47335889093c66af6b912935fd121b870be0d (diff) |
Fix dependency generation for yasm assembler files
Originally committed as revision 19683 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | subdir.mak | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/subdir.mak b/subdir.mak index ada6e53763..d89573904e 100644 --- a/subdir.mak +++ b/subdir.mak @@ -31,11 +31,9 @@ $(SUBDIR)%-test.o: $(SUBDIR)%-test.c $(CC) $(CPPFLAGS) $(CFLAGS) -DTEST -c -o $$@ $$^ $(SUBDIR)x86/%.o: $(SUBDIR)x86/%.asm + $(YASM) $(YASMFLAGS) -I $$(<D)/ -M -o $$@ $$< > $$(@:.o=.d) $(YASM) $(YASMFLAGS) -I $$(<D)/ -o $$@ $$< -$(SUBDIR)x86/%.d: $(SUBDIR)x86/%.asm - $(YASM) $(YASMFLAGS) -I $$(<D)/ -M -o $$(@:%.d=%.o) $$< > $$@ - clean:: rm -f $(addprefix $(SUBDIR),*-example$(EXESUF) *-test$(EXESUF) $(CLEANFILES) $(CLEANSUFFIXES) $(LIBSUFFIXES)) \ $(addprefix $(SUBDIR), $(foreach suffix,$(CLEANSUFFIXES),$(addsuffix /$(suffix),$(DIRS)))) |