1
0
mirror of https://github.com/mpv-player/mpv synced 2025-03-03 20:57:45 +00:00

Don't compile libvo.a unless MPlayer is enabled.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21245 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
diego 2006-11-25 18:56:00 +00:00
parent 7cce9019a7
commit 917d57bc25

View File

@ -4,6 +4,11 @@ include ../config.mak
LIBNAME = libvo.a
LIBNAME2 = libosd.a
LIBS =$(LIBNAME2)
ifeq ($(MPLAYER),yes)
LIBS+=$(LIBNAME)
endif
SRCS=aspect.c \
geometry.c \
spuenc.c \
@ -56,7 +61,7 @@ CFLAGS = $(INCLUDE) $(OPTFLAGS)
.m.o:
$(CC) -c $(CFLAGS) -o $@ $<
all: $(LIBNAME) $(LIBNAME2)
all: $(LIBS)
$(LIBNAME): $(OBJS)
$(AR) r $@ $^