summaryrefslogtreecommitdiffstats
path: root/osdep/Makefile
diff options
context:
space:
mode:
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/