Mercurial > mplayer.hg
diff libmpcodecs/Makefile @ 4878:eff8a76e515f
libmpcodecs core - initial version
author | arpi |
---|---|
date | Thu, 28 Feb 2002 00:57:30 +0000 |
parents | |
children | c758cf9360d9 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libmpcodecs/Makefile Thu Feb 28 00:57:30 2002 +0000 @@ -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 +