view libmpcodecs/Makefile @ 4912:0ccd7731c17b

removed --enable-xp from help screen to avoid confusing users
author alex
date Sat, 02 Mar 2002 14:36:18 +0000
parents 6b2c6ce84aea
children f6990fad0ab3
line wrap: on
line source


include ../config.mak

LIBNAME = libmpcodecs.a

SRCS=vd.c vd_null.c vd_cinepak.c dec_video.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