diff osdep/Makefile @ 9465:350b660ef93c

precise macosx timer by Dan Christiansen <danchr@daimi.au.dk> and 10l fix by me
author alex
date Wed, 19 Feb 2003 17:22:02 +0000
parents edfe34c5405d
children e2134d2f18fb
line wrap: on
line diff
--- a/osdep/Makefile	Wed Feb 19 17:14:57 2003 +0000
+++ b/osdep/Makefile	Wed Feb 19 17:22:02 2003 +0000
@@ -3,8 +3,7 @@
 
 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 @@
 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/