1
mirror of https://github.com/mpv-player/mpv synced 2024-09-16 22:19:59 +02:00

Replace silly compilation shell scripts by a simple Makefile.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19891 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
diego 2006-09-18 14:27:35 +00:00
parent 24c9e1a4a6
commit c5a9cfcef9
10 changed files with 14 additions and 29 deletions

View File

@ -1,4 +0,0 @@
rm 14_4.so.6.0
gcc -c 14_4.c -g
ld -shared -o 14_4.so.6.0 14_4.o -ldl -lc

View File

@ -1,4 +0,0 @@
rm 28_8.so.6.0
gcc -c 28_8.c -g
ld -shared -o 28_8.so.6.0 28_8.o -ldl -lc

View File

@ -1,6 +1,6 @@
HOW TO get these capturers/wrappers to work:
- set the path to the codecs in the C file
- compile it with the script
- run make
- the orig. codecs are prepended by a "real" -> e.g. realcook.so.6.0
- the capturer get the old name, e.g. cook.so.6.0

13
TOOLS/realcodecs/Makefile Normal file
View File

@ -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

View File

@ -1,4 +0,0 @@
rm cook.so.6.0
gcc -c cook.c -g
ld -shared -o cook.so.6.0 cook.o -ldl -lc

View File

@ -1,3 +0,0 @@
rm drv2.so.6.0
gcc -c drv2.c -g &&
ld -shared -o drv2.so.6.0 drv2.o -ldl -lc

View File

@ -1,3 +0,0 @@
rm drv3.so.6.0
gcc -c drv3.c -g &&
ld -shared -o drv3.so.6.0 drv3.o -ldl -lc

View File

@ -1,3 +0,0 @@
rm drv4.so.6.0
gcc -c drv4.c -g &&
ld -shared -o drv4.so.6.0 drv4.o -ldl -lc

View File

@ -1,3 +0,0 @@
rm rv30.so.6.0
gcc -c rv30.c -g
ld -shared -o rv30.so.6.0 rv30.o -ldl -lc

View File

@ -1,4 +0,0 @@
rm sipr.so.6.0
gcc -c sipr.c -g
ld -shared -o sipr.so.6.0 sipr.o -ldl -lc