6 SRCS
= shmem.c strsep.c strl.c vsscanf.c scandir.c gettimeofday.c fseeko.c \
10 ifeq ($(TARGET_ARCH_X86
),yes
)
11 ifeq ($(TARGET_OS
),Linux
)
12 SRCS
+= lrmi.c vbelib.c
18 ifeq ($(MACOSX_FINDER_SUPPORT
),yes
)
19 SRCS
+= macosx_finder_args.c
21 ifeq ($(TARGET_OS
),Darwin
)
22 timer
= timer-darwin.c
24 ifeq ($(TARGET_OS
),CYGWIN
)
27 ifeq ($(TARGET_OS
),MINGW32
)
37 CFLAGS
= $(OPTFLAGS
) -I.
-I..
$(EXTRA_INC
)
38 # -I/usr/X11R6/include/
45 $(CC
) -c
$(CFLAGS
) -o
$@
$<
48 $(AR
) r
$(LIBNAME
) $(OBJS
)
57 rm -f Makefile.bak
*.o
*.a
*~ .depend
62 $(CC
) -MM
$(CFLAGS
) $(SRCS
) 1>.depend
65 # include dependency files if they exist
67 ifneq ($(wildcard .depend
),)