View | Details | Raw Unified
Collapse All | Expand All

(-) glfw-2.5-orig/lib/x11/Makefile.x11.in (-1 / +11 lines)
 Lines 2-15    Link Here 
##########################################################################
##########################################################################
# Default: Build GLFW static library
# Default: Build GLFW static library
##########################################################################
##########################################################################
default: libglfw.a
default: libglfw.a libglfw.so
##########################################################################
##########################################################################
# Library builder settings
# Library builder settings
##########################################################################
##########################################################################
MKLIB    = ar
MKLIB    = ar
MKLIB_SO = gcc
LIBFLAGS = -rcs
LIBFLAGS = -rcs
LIBFLAGS_SO = -shared -Wall $(OBJS) -lc -Wl,-soname
SONAME = libglfw.so
SONAMEVERSION = libglfw.so.2.5
##########################################################################
##########################################################################
 Lines 44-49    Link Here 
libglfw.a: $(OBJS)
libglfw.a: $(OBJS)
	$(MKLIB) $(LIBFLAGS) $@ $(OBJS)
	$(MKLIB) $(LIBFLAGS) $@ $(OBJS)
libglfw.so: $(OBJS)
	$(MKLIB_SO) $(LIBFLAGS_SO) -Wl,$(SOVERSION) -lGLU \
	-lGL -lX11 -lXxf86vm -lXext -o $(SONAME)
##########################################################################
##########################################################################
# Rules for building library object files
# Rules for building library object files