# HG changeset patch # User diego # Date 1209112113 0 # Node ID 90533188c926e671168a55f73de3da75db13bfa3 # Parent 99320e745ef3ddb8424395bf4f918640bd543b88 Take name of getch file to link against from config.mak. diff -r 99320e745ef3 -r 90533188c926 mp3lib/Makefile --- 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