mirror of
https://github.com/mpv-player/mpv
synced 2025-02-14 10:57:32 +00:00
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22564 b3059339-0415-0410-9bf9-f77b7e298cf2
30 lines
414 B
Makefile
30 lines
414 B
Makefile
include ../config.mak
|
|
|
|
LIBNAME = libvidix.a
|
|
|
|
SRCS = vidixlib.c
|
|
OBJS = $(SRCS:.c=.o)
|
|
|
|
CFLAGS = $(OPTFLAGS)
|
|
|
|
all: $(LIBNAME)
|
|
$(MAKE) -C drivers
|
|
|
|
$(LIBNAME): $(OBJS)
|
|
$(AR) r $@ $^
|
|
$(RANLIB) $@
|
|
|
|
clean:
|
|
rm -f *.o *.a *~
|
|
$(MAKE) -C drivers clean
|
|
|
|
distclean: clean
|
|
rm -f .depend test
|
|
$(MAKE) -C drivers distclean
|
|
|
|
dep depend:
|
|
$(CC) -MM $(CFLAGS) $(SRCS) 1>.depend
|
|
$(MAKE) -C drivers depend
|
|
|
|
-include .depend
|