OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [tags/] [stable/] [mp3/] [sw/] [mad-xess/] [libmad/] [Makefile] - Blame information for rev 1765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 291 simons
CC = or32-rtems-gcc
2
AS = or32-rtems-as
3
AR = or32-rtems-ar
4
RUNLIB = or32-rtems-ranlib
5
 
6
LIBMAD_OBJ =    fixed.o         \
7
                bit.o           \
8
                timer.o         \
9
                stream.o        \
10
                frame.o         \
11
                synth.o         \
12
                decoder.o       \
13
                layer3.o        \
14
                huffman.o
15
 
16
CC_OPTS = -DHAVE_CONFIG_H -DFPM_DEFAULT -fno-delayed-branch -Wall -nostdlib \
17
        -g -O -fforce-mem -fforce-addr -fthread-jumps -fcse-follow-jumps \
18
        -fcse-skip-blocks -fexpensive-optimizations -fregmove -fschedule-insns2 \
19
        -I. -I./../
20
 
21
all: libmad.a
22
 
23
libmad.a: $(LIBMAD_OBJ)
24
        $(AR) cru libmad.a $(LIBMAD_OBJ)
25
        $(RUNLIB) libmad.a
26
 
27
fixed.o: fixed.c config.h global.h fixed.h
28
        $(CC) $(CC_OPTS) -c -o fixed.o fixed.c
29
 
30
bit.o: bit.c config.h global.h bit.h
31
        $(CC) $(CC_OPTS) -c -o bit.o bit.c
32
 
33
timer.o: timer.c config.h global.h timer.h
34
        $(CC) $(CC_OPTS) -c -o timer.o timer.c
35
 
36
stream.o: stream.c config.h global.h bit.h stream.h
37
        $(CC) $(CC_OPTS) -c -o stream.o stream.c
38
 
39
frame.o: frame.c config.h global.h bit.h stream.h frame.h fixed.h timer.h layer3.h
40
        $(CC) $(CC_OPTS) -c -o frame.o frame.c
41
 
42
synth.o: synth.c config.h global.h fixed.h frame.h timer.h stream.h bit.h synth.h \
43
        ../audio.h mad.h D.dat
44
        $(CC) $(CC_OPTS) -c -o synth.o synth.c
45
 
46
decoder.o: decoder.c config.h global.h stream.h bit.h frame.h fixed.h timer.h \
47
        synth.h decoder.h
48
        $(CC) $(CC_OPTS) -c -o decoder.o decoder.c
49
 
50
layer3.o: layer3.c config.h global.h fixed.h bit.h stream.h frame.h timer.h \
51
        huffman.h layer3.h rq_short.dat imdct_s.dat
52
        $(CC) $(CC_OPTS) -c -o layer3.o layer3.c
53
 
54
huffman.o: huffman.c config.h global.h huffman.h
55
        $(CC) $(CC_OPTS) -c -o huffman.o huffman.c
56
 
57
clean:
58
        rm -rf $(LIBMAD_OBJ) libmad.a *~ *.bak
59
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.