Mercurial > mplayer.hg
changeset 9830:e2134d2f18fb
enable timer-win and getch2-win for mingw32
author | faust3 |
---|---|
date | Fri, 04 Apr 2003 19:33:18 +0000 |
parents | 0f2cc9ef24f6 |
children | 0397b461f0fb |
files | osdep/Makefile |
diffstat | 1 files changed, 13 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/osdep/Makefile Fri Apr 04 19:27:46 2003 +0000 +++ b/osdep/Makefile Fri Apr 04 19:33:18 2003 +0000 @@ -3,7 +3,7 @@ LIBNAME = libosdep.a -SRCS=getch2.c shmem.c strsep.c vsscanf.c scandir.c # timer.c +SRCS= shmem.c strsep.c vsscanf.c scandir.c gettimeofday.c # timer.c ifeq ($(TARGET_ARCH_X86),yes) ifeq ($(TARGET_OS),Linux) @@ -11,11 +11,20 @@ endif endif +getch = getch2.c +timer = timer-lx.c ifeq ($(MACOSX),yes) -SRCS += timer-macosx.c -else -SRCS += timer-lx.c +timer = timer-macosx.c +endif +ifeq ($(TARGET_CYGWIN),yes) +timer = timer-win.c endif +ifeq ($(TARGET_MINGW32),yes) +timer = timer-win.c +getch = getch2-win.c +endif +SRCS += $(timer) +SRCS += $(getch) OBJS=$(SRCS:.c=.o)