[FFmpeg-cvslog] r19683 - trunk/subdir.mak
mru
subversion
Sun Aug 23 13:02:32 CEST 2009
Author: mru
Date: Sun Aug 23 13:02:32 2009
New Revision: 19683
Log:
Fix dependency generation for yasm assembler files
Modified:
trunk/subdir.mak
Modified: trunk/subdir.mak
==============================================================================
--- trunk/subdir.mak Sun Aug 23 03:55:54 2009 (r19682)
+++ trunk/subdir.mak Sun Aug 23 13:02:32 2009 (r19683)
@@ -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))))
More information about the ffmpeg-cvslog
mailing list