diff options
author | nick <nick@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-01-07 09:28:22 +0000 |
---|---|---|
committer | nick <nick@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-01-07 09:28:22 +0000 |
commit | 75c0b3169b79bfa85c905f87f0c77c07f04f29ad (patch) | |
tree | c2b7106529d50e759883d278bda6744af7318381 /vidix/Makefile | |
parent | cb6aa3b4a8629a9678b212c51d057171e6a19bd8 (diff) | |
download | mpv-75c0b3169b79bfa85c905f87f0c77c07f04f29ad.tar.bz2 mpv-75c0b3169b79bfa85c905f87f0c77c07f04f29ad.tar.xz |
Embedding vidix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4031 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'vidix/Makefile')
-rw-r--r-- | vidix/Makefile | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/vidix/Makefile b/vidix/Makefile index 0e964faa90..bd287b7131 100644 --- a/vidix/Makefile +++ b/vidix/Makefile @@ -1,5 +1,6 @@ - LIBNAME = libvidix.a +SUBDIRS = drivers +DO_MAKE = @ for i in $(SUBDIRS); do $(MAKE) -C $$i $@; done include ../config.mak @@ -15,22 +16,30 @@ CFLAGS = $(OPTFLAGS) -W -Wall .c.o: $(CC) -c $(CFLAGS) -o $@ $< +all: $(SUBDIRS) $(LIBNAME) + $(DO_MAKE) + $(LIBNAME): $(OBJS) $(AR) r $(LIBNAME) $(OBJS) -all: $(LIBNAME) clean: rm -f *.o *.a *~ + $(DO_MAKE) distclean: rm -f test *.o *.a *~ .depend + $(DO_MAKE) dep: depend + $(DO_MAKE) depend: $(CC) -MM $(CFLAGS) $(SRCS) 1>.depend +install: + $(DO_MAKE) + # # include dependency files if they exist # |