summaryrefslogtreecommitdiffstats
path: root/TOOLS/realcodecs/Makefile
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-09-18 14:27:35 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-09-18 14:27:35 +0000
commitc5a9cfcef973152269def75b2a94936de36c5661 (patch)
treef6b9902ccb0c95663a895d300739db0d9d48094b /TOOLS/realcodecs/Makefile
parent24c9e1a4a681d8c763ae0b4717549c5bbe99be89 (diff)
downloadmpv-c5a9cfcef973152269def75b2a94936de36c5661.tar.bz2
mpv-c5a9cfcef973152269def75b2a94936de36c5661.tar.xz
Replace silly compilation shell scripts by a simple Makefile.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19891 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'TOOLS/realcodecs/Makefile')
-rw-r--r--TOOLS/realcodecs/Makefile13
1 files changed, 13 insertions, 0 deletions
diff --git a/TOOLS/realcodecs/Makefile b/TOOLS/realcodecs/Makefile
new file mode 100644
index 0000000000..3327754c38
--- /dev/null
+++ b/TOOLS/realcodecs/Makefile
@@ -0,0 +1,13 @@
+SRCS = 14_4.c 28_8.c cook.c drv2.c drv3.c drv4.c ra.c rv30.c sipr.c
+TARGETS = $(SRCS:.c=.so.6.0)
+
+%.o: %.c
+ cc -c $< -g
+
+%.so.6.0: %.o
+ ld -shared -o $@ $< -ldl -lc
+
+all: $(TARGETS)
+
+clean:
+ rm -f *.so.6.0