Take name of getch file to link against from config.mak.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26529 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
diego 2008-04-25 08:28:33 +00:00
parent 61d97d630e
commit 3b68802ccc
1 changed files with 1 additions and 1 deletions

View File

@ -15,5 +15,5 @@ include ../mpcommon.mak
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