diff options
author | arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-02-28 00:57:30 +0000 |
---|---|---|
committer | arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-02-28 00:57:30 +0000 |
commit | 0ed51b294c45f484bae2b888c12776fa363414fb (patch) | |
tree | a16f024cd51064d6ba403a76acd6d30c9001fffd /libmpcodecs/Makefile | |
parent | 592972e3096ba44ab06ca8ba31867d0d69f355dd (diff) | |
download | mpv-0ed51b294c45f484bae2b888c12776fa363414fb.tar.bz2 mpv-0ed51b294c45f484bae2b888c12776fa363414fb.tar.xz |
libmpcodecs core - initial version
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4879 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpcodecs/Makefile')
-rw-r--r-- | libmpcodecs/Makefile | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/libmpcodecs/Makefile b/libmpcodecs/Makefile new file mode 100644 index 0000000000..b4e738ea06 --- /dev/null +++ b/libmpcodecs/Makefile @@ -0,0 +1,41 @@ + +include ../config.mak + +LIBNAME = libmpcodecs.a + +SRCS=vd.c vd_null.c + +OBJS=$(SRCS:.c=.o) + +CFLAGS = -Wall $(OPTFLAGS) -I. -I.. -I../libmpdemux -I../loader $(EXTRA_INC) + +.SUFFIXES: .c .o + +# .PHONY: all clean + +.c.o: + $(CC) -c $(CFLAGS) -o $@ $< + +$(LIBNAME): $(OBJS) + $(AR) r $(LIBNAME) $(OBJS) + +all: $(LIBNAME) + +clean: + rm -f *.o *.a *~ + +distclean: + rm -f Makefile.bak *.o *.a *~ .depend + +dep: depend + +depend: + $(CC) -MM $(CFLAGS) $(SRCS) 1>.depend + +# +# include dependency files if they exist +# +ifneq ($(wildcard .depend),) +include .depend +endif + |