Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

27 lines (26 sloc) 0.726 kB
UNAME := $(shell uname -s)
ifeq ($(UNAME),Darwin)
OS_SHARED_EXT = .dylib
OS_STATIC_EXT = .a
OS_EXEC_EXT =
# Universal bin (except PPC, cause XCode4 doesn't build that)
AR_RCS = libtool -static -o
EXTRA_CFLAGS = -force_cpusubtype_ALL -arch i386 -arch x86_64
# end Universal
LIBRARIES = $(COMMON_LIBRARIES) $(OSX_LIBRARIES)
PREBUILT_DIR := $(BASE_DIR)/external/Win32
else
ifeq ($(findstring MINGW,$(UNAME)),MINGW)
OS_SHARED_EXT = .dll
OS_STATIC_EXT = .a
OS_EXEC_EXT = .exe
CC := gcc
LIBRARIES = $(COMMON_LIBRARIES) $(MINGW_LIBRARIES)
PREBUILT_DIR := $(BASE_DIR)/external/Win32
else
OS_SHARED = .so
OS_STATIC_EXT = .a
OS_EXEC_EXT =
LIBRARIES = $(COMMON_LIBRARIES) $(LINUX_LIBRARIES)
endif
endif
Jump to Line
Something went wrong with that request. Please try again.