diff Makefile @ 297:9b00ddddc0b2

imported codec-cfg, small fixes
author arpi_esp
date Fri, 06 Apr 2001 23:20:46 +0000
parents 0c8dc789b42e
children 828ec81e0d64
line wrap: on
line diff
--- a/Makefile	Fri Apr 06 16:31:18 2001 +0000
+++ b/Makefile	Fri Apr 06 23:20:46 2001 +0000
@@ -17,6 +17,8 @@
 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 @@
 
 # .PHONY: all clean
 
-all:	$(PRG)
+all:	$(PRG) $(PRG_CFG)
 # $(PRG_AVIP)
 
 .c.o:
@@ -74,6 +76,9 @@
 $(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