changeset 26497:90533188c926

Take name of getch file to link against from config.mak.
author diego
date Fri, 25 Apr 2008 08:28:33 +0000
parents 99320e745ef3
children b00fef572591
files mp3lib/Makefile
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mp3lib/Makefile	Fri Apr 25 08:25:17 2008 +0000
+++ b/mp3lib/Makefile	Fri Apr 25 08:28:33 2008 +0000
@@ -15,5 +15,5 @@
 
 decode_i586.o: CFLAGS += -fomit-frame-pointer
 
-%: %.c $(LIBNAME_COMMON) ../libvo/aclib.o ../mp_msg-mencoder.o ../cpudetect.o ../osdep/getch2.o
+%: %.c $(LIBNAME_COMMON) ../libvo/aclib.o ../mp_msg-mencoder.o ../cpudetect.o ../osdep/$(GETCH:.c=.o)
 	$(CC) $(CFLAGS) -o $@ $^ -ltermcap -lm