2004-12-30 12:11:32 +00:00
|
|
|
|
|
|
|
LIBNAME = libvorbisidec.a
|
|
|
|
|
|
|
|
include ../config.mak
|
|
|
|
|
2006-03-25 10:38:37 +00:00
|
|
|
SRCS = bitwise.c \
|
|
|
|
block.c \
|
|
|
|
codebook.c \
|
|
|
|
floor0.c \
|
|
|
|
floor1.c \
|
|
|
|
framing.c \
|
|
|
|
info.c \
|
|
|
|
mapping0.c \
|
|
|
|
mdct.c \
|
|
|
|
registry.c \
|
|
|
|
res012.c \
|
|
|
|
sharedbook.c \
|
|
|
|
synthesis.c \
|
|
|
|
window.c \
|
2004-12-30 12:11:32 +00:00
|
|
|
|
|
|
|
OBJS = $(SRCS:.c=.o)
|
2006-07-12 17:58:07 +00:00
|
|
|
INCLUDE = -I. -I..
|
2004-12-30 12:11:32 +00:00
|
|
|
CFLAGS = $(OPTFLAGS) $(INCLUDE) $(TREMOR_FLAGS)
|
|
|
|
|
|
|
|
.SUFFIXES: .c .o
|
|
|
|
|
|
|
|
# .PHONY: all clean
|
|
|
|
|
|
|
|
.c.o:
|
|
|
|
$(CC) -c $(CFLAGS) -o $@ $<
|
|
|
|
|
|
|
|
$(LIBNAME): $(OBJS)
|
|
|
|
$(AR) r $(LIBNAME) $(OBJS)
|
|
|
|
$(RANLIB) $(LIBNAME)
|
|
|
|
|
|
|
|
all: $(LIBNAME)
|
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f *.o *.a *~
|
|
|
|
|
2006-01-27 00:06:42 +00:00
|
|
|
distclean: clean
|
|
|
|
rm -f .depend
|
2004-12-30 12:11:32 +00:00
|
|
|
|
|
|
|
dep: depend
|
|
|
|
|
|
|
|
depend:
|
|
|
|
$(CC) -MM $(CFLAGS) $(SRCS) 1>.depend
|
|
|
|
|
|
|
|
#
|
|
|
|
# include dependency files if they exist
|
|
|
|
#
|
|
|
|
ifneq ($(wildcard .depend),)
|
|
|
|
include .depend
|
|
|
|
endif
|