view vidix/Makefile @ 22547:9193e4b4834f

cosmetics: Rename variables for consistency with other Makefiles.
author diego
date Wed, 14 Mar 2007 08:45:58 +0000
parents 322fed4ddef2
children 42bd84f21090
line wrap: on
line source

include ../config.mak

LIBNAME_MPLAYER = libvidix.a

SRCS_MPLAYER    = vidixlib.c
OBJS_MPLAYER	= $(SRCS_MPLAYER:.c=.o)

CFLAGS  = $(OPTFLAGS)

all:	$(LIBNAME_MPLAYER)
	$(MAKE) -C drivers

$(LIBNAME_MPLAYER): $(OBJS_MPLAYER)
	$(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_MPLAYER) 1>.depend
	$(MAKE) -C drivers depend

-include .depend