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:
parent
24c9e1a4a6
commit
c5a9cfcef9
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
13
TOOLS/realcodecs/Makefile
Normal 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
|
@ -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
|
||||
|
@ -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
|
@ -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
|
@ -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
|
@ -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
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user