view mpcommon.mak @ 21264:a5daafb2c201

Fix previous broken vd_qtvideo.c commit which failed on MACOSX
author uau
date Sun, 26 Nov 2006 19:35:56 +0000
parents 92b122592776
children f423ce0a1c36
line wrap: on
line source

OBJS  = $(SRCS:.c=.o)
OBJS := $(OBJS:.S=.o)
OBJS := $(OBJS:.s=.o)
OBJS := $(OBJS:.cpp=.o)

CFLAGS += -I. -I.. $(OPTFLAGS)

.SUFFIXES: .c .o

.c.o:
	$(CC) -c $(CFLAGS) -o $@ $<

all:    $(LIBNAME)

$(LIBNAME): $(OBJS)
	$(AR) r $@ $^
	$(RANLIB) $@

clean::
	rm -f *.o *.a *~

distclean:: clean
	rm -f .depend

dep depend:
	$(CC) -MM $(CFLAGS) $(SRCS) 1>.depend

ifneq ($(wildcard .depend),)
include .depend
endif