summaryrefslogtreecommitdiffstats
path: root/mp3lib/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'mp3lib/Makefile')
-rw-r--r--mp3lib/Makefile34
1 files changed, 34 insertions, 0 deletions
diff --git a/mp3lib/Makefile b/mp3lib/Makefile
new file mode 100644
index 0000000000..774fed3fd4
--- /dev/null
+++ b/mp3lib/Makefile
@@ -0,0 +1,34 @@
+
+include config.mak
+
+SRCS = sr1.c d_cpu.s decode_i586.s $(OPTIONAL_SRCS)
+OBJS = sr1.o d_cpu.o decode_i586.o $(OPTIONAL_OBJS)
+CFLAGS = $(OPTFLAGS)
+
+.SUFFIXES: .c .o
+
+# .PHONY: all clean
+
+.c.o:
+ $(CC) -c $(CFLAGS) -o $@ $<
+
+.s.o:
+ $(CC) -c $(CFLAGS) -o $@ $<
+
+libMP3.a: $(OBJS)
+ $(AR) r libMP3.a $(OBJS)
+
+all: libMP3.a
+
+clean:
+ rm -f *~ *.o *.a
+
+distclean:
+ makedepend
+ rm -f *~ *.o *.a Makefile.bak
+
+dep: depend
+
+depend:
+ makedepend -- $(CFLAGS) -- $(SRCS) &>/dev/null
+# DO NOT DELETE