From 304d586de6ccc14a4b857a038b738774ca818ea3 Mon Sep 17 00:00:00 2001 From: Loren Merritt Date: Mon, 11 Aug 2008 23:53:31 +0000 Subject: yasm buildsystem Originally committed as revision 14696 to svn://svn.ffmpeg.org/ffmpeg/trunk --- common.mak | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'common.mak') diff --git a/common.mak b/common.mak index 93176c5389..cccd00b23d 100644 --- a/common.mak +++ b/common.mak @@ -8,6 +8,7 @@ ifndef SUBDIR vpath %.c $(SRC_DIR) vpath %.h $(SRC_DIR) vpath %.S $(SRC_DIR) +vpath %.asm $(SRC_DIR) ifeq ($(SRC_DIR),$(SRC_PATH_BARE)) BUILD_ROOT_REL = . @@ -96,6 +97,12 @@ $(SUBDIR)%-test.o: $(SUBDIR)%.c $(SUBDIR)%-test.o: $(SUBDIR)%-test.c $(CC) $(CFLAGS) -DTEST -c -o $$@ $$^ +$(SUBDIR)i386/%.o: $(SUBDIR)i386/%.asm + $(YASM) $(YASMFLAGS) -I $$( $$@ + clean:: rm -f $(TESTS) $(addprefix $(SUBDIR),$(CLEANFILES) $(CLEANSUFFIXES) $(LIBSUFFIXES)) \ $(addprefix $(SUBDIR), $(foreach suffix,$(CLEANSUFFIXES),$(addsuffix /$(suffix),$(DIRS)))) -- cgit v1.2.3