mirror of
https://github.com/mpv-player/mpv
synced 2025-03-21 02:41:13 +00:00
Handle stubs.s like all other source files.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21197 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
c64125cf0b
commit
739bd0d941
@ -6,11 +6,12 @@ CFLAGS=-I. -I.. -DMPLAYER -D__WINE__ $(OPTFLAGS)
|
|||||||
SRCS= driver.c afl.c vfl.c
|
SRCS= driver.c afl.c vfl.c
|
||||||
ifneq ($(TARGET_WIN32),yes)
|
ifneq ($(TARGET_WIN32),yes)
|
||||||
SRCS+= ldt_keeper.c pe_image.c module.c ext.c win32.c \
|
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
|
endif
|
||||||
|
|
||||||
OBJS = $(SRCS:.c=.o)
|
OBJS = $(SRCS:.c=.o)
|
||||||
OBJS := $(OBJS:.S=.o)
|
OBJS := $(OBJS:.S=.o)
|
||||||
|
OBJS := $(OBJS:.s=.o)
|
||||||
|
|
||||||
all: libloader.a
|
all: libloader.a
|
||||||
|
|
||||||
@ -23,9 +24,8 @@ distclean: clean
|
|||||||
.c.o:
|
.c.o:
|
||||||
$(CC) $(CFLAGS) -c $<
|
$(CC) $(CFLAGS) -c $<
|
||||||
|
|
||||||
libloader.a: $(OBJS) stubs.s
|
libloader.a: $(OBJS)
|
||||||
$(CC) -c ./stubs.s -o stubs.o
|
$(AR) -r libloader.a $(OBJS)
|
||||||
$(AR) -r libloader.a $(OBJS) stubs.o
|
|
||||||
$(RANLIB) libloader.a
|
$(RANLIB) libloader.a
|
||||||
|
|
||||||
dep depend:
|
dep depend:
|
||||||
|
Loading…
Reference in New Issue
Block a user