summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorarpi_esp <arpi_esp@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-04-06 23:20:46 +0000
committerarpi_esp <arpi_esp@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-04-06 23:20:46 +0000
commitb5332bd54df0a2b1af990dc71ffe08690fb98343 (patch)
tree3abf5c9e031d074bc776fc12ad591618d48f6040 /Makefile
parent7b6e0023b8e4eee0b106939161b0230918c9c427 (diff)
downloadmpv-b5332bd54df0a2b1af990dc71ffe08690fb98343.tar.bz2
mpv-b5332bd54df0a2b1af990dc71ffe08690fb98343.tar.xz
imported codec-cfg, small fixes
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@298 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 840069e260..f6c798dc8b 100644
--- a/Makefile
+++ b/Makefile
@@ -17,6 +17,8 @@ PRG = mplayer
PRG_HQ = mplayerHQ
PRG_AVIP = aviparse
PRG_TV = tvision
+PRG_CFG = codec-cfg
+
prefix = /usr/local
BINDIR = ${prefix}/bin
# BINDIR = /usr/local/bin
@@ -30,7 +32,7 @@ VO_LIBS = -Llibvo -lvo $(X_LIBS)
# .PHONY: all clean
-all: $(PRG)
+all: $(PRG) $(PRG_CFG)
# $(PRG_AVIP)
.c.o:
@@ -74,6 +76,9 @@ $(PRG_AVIP): .depend aviparse.o $(OBJS) loader/libloader.a $(COMMONLIBS)
$(PRG_TV): .depend tvision.o $(OBJS) $(COMMONLIBS)
$(CC) $(CFLAGS) -o $(PRG_TV) tvision.o $(OBJS) -lm $(TERMCAP_LIB) $(VO_LIBS)
+$(PRG_CFG): codec-cfg.c codec-cfg.h
+ $(CC) $(CFLAGS) codec-cfg.c -o $(PRG_CFG) -DTESTING
+
install: $(PRG)
install -g $(GROUP) -o $(OWNER) -m $(PERM) -s $(PRG) $(BINDIR)
install -D -m 644 DOCS/mplayer.1 $(prefix)/man/man1/mplayer.1