summaryrefslogtreecommitdiffstats
path: root/osdep/Makefile
diff options
context:
space:
mode:
authoralex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-02-19 17:22:02 +0000
committeralex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-02-19 17:22:02 +0000
commit1e7289e890e3ad6e26f9a5ecf99c772ed082e8eb (patch)
treed58f459332ff11cab78ef511c8c1d17cffb12734 /osdep/Makefile
parent33f8a3911f467e526463a16604eb2703ea5be658 (diff)
downloadmpv-1e7289e890e3ad6e26f9a5ecf99c772ed082e8eb.tar.bz2
mpv-1e7289e890e3ad6e26f9a5ecf99c772ed082e8eb.tar.xz
precise macosx timer by Dan Christiansen <danchr@daimi.au.dk> and 10l fix by me
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9466 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'osdep/Makefile')
-rw-r--r--osdep/Makefile11
1 files changed, 9 insertions, 2 deletions
diff --git a/osdep/Makefile b/osdep/Makefile
index f42b913d07..0309d7ebad 100644
--- a/osdep/Makefile
+++ b/osdep/Makefile
@@ -3,8 +3,7 @@ include ../config.mak
LIBNAME = libosdep.a
-SRCS=getch2.c timer-lx.c shmem.c strsep.c vsscanf.c scandir.c # timer.c
-OBJS=$(SRCS:.c=.o)
+SRCS=getch2.c shmem.c strsep.c vsscanf.c scandir.c # timer.c
ifeq ($(TARGET_ARCH_X86),yes)
ifeq ($(TARGET_OS),Linux)
@@ -12,6 +11,14 @@ SRCS += lrmi.c vbelib.c
endif
endif
+ifeq ($(MACOSX),yes)
+SRCS += timer-macosx.c
+else
+SRCS += timer-lx.c
+endif
+
+OBJS=$(SRCS:.c=.o)
+
CFLAGS = $(OPTFLAGS) -I. -I.. $(EXTRA_INC)
# -I/usr/X11R6/include/