summaryrefslogtreecommitdiff
path: root/core/multimedia/opieplayer/libmpeg3/audio/Makefile
blob: eaa0e0b4f4922b7cc68f867edda2f2572f9c10d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
include ../global_config
export CFLAGS
export CFLAGS_lessopt

OBJS = \
	ac3.o \
	bit_allocation.o \
	dct.o \
	exponents.o \
	header.o \
	layer2.o \
	layer3.o \
	mantissa.o \
	mpeg3audio.o \
	pcm.o \
	synthesizers.o \
	tables.o

all: $(OBJS)

dct.o: dct.c
	$(CC) -c `./c_flags dct.c` -o $@ $<

synthesizers.o: synthesizers.c
	$(CC) -c `./c_flags synthesizers.c` -o $@ $<


.c.o:
	$(CC) -c `./c_flags` -o $@ $<

.s.o:
	$(CC) -f elf $*.s

clean:
	rm -f *.o