From 739bd0d941a4ddcf744b516b9536c19263a16527 Mon Sep 17 00:00:00 2001 From: diego Date: Fri, 24 Nov 2006 23:49:30 +0000 Subject: [PATCH] Handle stubs.s like all other source files. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21197 b3059339-0415-0410-9bf9-f77b7e298cf2 --- loader/Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/loader/Makefile b/loader/Makefile index 838e2c4068..19f045eefa 100644 --- a/loader/Makefile +++ b/loader/Makefile @@ -6,11 +6,12 @@ CFLAGS=-I. -I.. -DMPLAYER -D__WINE__ $(OPTFLAGS) SRCS= driver.c afl.c vfl.c ifneq ($(TARGET_WIN32),yes) SRCS+= ldt_keeper.c pe_image.c module.c ext.c win32.c \ - pe_resource.c resource.c registry.c elfdll.c wrapper.S + pe_resource.c resource.c registry.c elfdll.c wrapper.S stubs.s endif OBJS = $(SRCS:.c=.o) OBJS := $(OBJS:.S=.o) +OBJS := $(OBJS:.s=.o) all: libloader.a @@ -23,9 +24,8 @@ distclean: clean .c.o: $(CC) $(CFLAGS) -c $< -libloader.a: $(OBJS) stubs.s - $(CC) -c ./stubs.s -o stubs.o - $(AR) -r libloader.a $(OBJS) stubs.o +libloader.a: $(OBJS) + $(AR) -r libloader.a $(OBJS) $(RANLIB) libloader.a dep depend: