comparison 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
comparison
equal deleted inserted replaced
9464:a4e50ab9ac14 9465:350b660ef93c
1 1
2 include ../config.mak 2 include ../config.mak
3 3
4 LIBNAME = libosdep.a 4 LIBNAME = libosdep.a
5 5
6 SRCS=getch2.c timer-lx.c shmem.c strsep.c vsscanf.c scandir.c # timer.c 6 SRCS=getch2.c shmem.c strsep.c vsscanf.c scandir.c # timer.c
7 OBJS=$(SRCS:.c=.o)
8 7
9 ifeq ($(TARGET_ARCH_X86),yes) 8 ifeq ($(TARGET_ARCH_X86),yes)
10 ifeq ($(TARGET_OS),Linux) 9 ifeq ($(TARGET_OS),Linux)
11 SRCS += lrmi.c vbelib.c 10 SRCS += lrmi.c vbelib.c
12 endif 11 endif
13 endif 12 endif
13
14 ifeq ($(MACOSX),yes)
15 SRCS += timer-macosx.c
16 else
17 SRCS += timer-lx.c
18 endif
19
20 OBJS=$(SRCS:.c=.o)
14 21
15 CFLAGS = $(OPTFLAGS) -I. -I.. $(EXTRA_INC) 22 CFLAGS = $(OPTFLAGS) -I. -I.. $(EXTRA_INC)
16 # -I/usr/X11R6/include/ 23 # -I/usr/X11R6/include/
17 24
18 .SUFFIXES: .c .o 25 .SUFFIXES: .c .o