mirror of
https://github.com/mpv-player/mpv
synced 2024-12-23 07:12:39 +00:00
enable timer-win and getch2-win for mingw32
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9831 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
a8dd582c45
commit
3a6df1e21e
@ -3,7 +3,7 @@ include ../config.mak
|
|||||||
|
|
||||||
LIBNAME = libosdep.a
|
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_ARCH_X86),yes)
|
||||||
ifeq ($(TARGET_OS),Linux)
|
ifeq ($(TARGET_OS),Linux)
|
||||||
@ -11,11 +11,20 @@ SRCS += lrmi.c vbelib.c
|
|||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
getch = getch2.c
|
||||||
|
timer = timer-lx.c
|
||||||
ifeq ($(MACOSX),yes)
|
ifeq ($(MACOSX),yes)
|
||||||
SRCS += timer-macosx.c
|
timer = timer-macosx.c
|
||||||
else
|
|
||||||
SRCS += timer-lx.c
|
|
||||||
endif
|
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)
|
OBJS=$(SRCS:.c=.o)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user