summaryrefslogtreecommitdiff
path: root/core/multimedia/opieplayer/libmpeg3/audio/Makefile
Side-by-side diff
Diffstat (limited to 'core/multimedia/opieplayer/libmpeg3/audio/Makefile') (more/less context) (ignore whitespace changes)
-rw-r--r--core/multimedia/opieplayer/libmpeg3/audio/Makefile35
1 files changed, 35 insertions, 0 deletions
diff --git a/core/multimedia/opieplayer/libmpeg3/audio/Makefile b/core/multimedia/opieplayer/libmpeg3/audio/Makefile
new file mode 100644
index 0000000..eaa0e0b
--- a/dev/null
+++ b/core/multimedia/opieplayer/libmpeg3/audio/Makefile
@@ -0,0 +1,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