UltraSPARC T1 (Niagara) support, patch by Derek E. Lewis /dlewis (gobble) solnetworks...
[mplayer/glamo.git] / tremor / Makefile
blobdc6651dba67281e93a949c9d6518bb9cc7f4bab6
2 LIBNAME = libvorbisidec.a
4 include ../config.mak
6 SRCS = bitwise.c \
7 block.c \
8 codebook.c \
9 floor0.c \
10 floor1.c \
11 framing.c \
12 info.c \
13 mapping0.c \
14 mdct.c \
15 registry.c \
16 res012.c \
17 sharedbook.c \
18 synthesis.c \
19 window.c \
21 OBJS = $(SRCS:.c=.o)
22 INCLUDE = -I. -I.. $(EXTRA_INC)
23 CFLAGS = $(OPTFLAGS) $(INCLUDE) $(TREMOR_FLAGS)
25 .SUFFIXES: .c .o
27 # .PHONY: all clean
29 .c.o:
30 $(CC) -c $(CFLAGS) -o $@ $<
32 $(LIBNAME): $(OBJS)
33 $(AR) r $(LIBNAME) $(OBJS)
34 $(RANLIB) $(LIBNAME)
36 all: $(LIBNAME)
38 clean:
39 rm -f *.o *.a *~
41 distclean: clean
42 rm -f .depend
44 dep: depend
46 depend:
47 $(CC) -MM $(CFLAGS) $(SRCS) 1>.depend
50 # include dependency files if they exist
52 ifneq ($(wildcard .depend),)
53 include .depend
54 endif