
ifeq ($(debug), true)
OPTIMIZE = -g
else
OPTIMIZE = -O2
endif

# The version of ranlib to use
RANLIB = :

# Objects for building the X11 library
X11_OBJS = $(patsubst %.c,obj/%.o,$(notdir $(wildcard src/linux/*.c))) \
           $(patsubst %.c,obj/x11/%.o,$(notdir $(wildcard src/linux/x11/*.c)))

# Set the virtual path so that sunos sources are grabbed first, then linux
ARCH_VPATH = src/$(target):src/linux

# When building a static library, use X11 files
STATIC_ARCH_OBJS = $(X11_OBJS)
