Skip to content

HTTPS clone URL

Subversion checkout URL

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

Cannot retrieve contributors at this time

30 lines (29 sloc) 0.938 kB
NAME = $(REGAL_NAME)
CC = cc
LD = cc
RANLIB :=
EXT.DYNAMIC = dylib
CFLAGS.EXTRA = -dynamic -fno-common -Wno-constant-logical-operand
CFLAGS.EXTRA += -MMD
PICFLAG = -fPIC
LDFLAGS.EXTRA =
ifneq (undefined, $(origin REGAL_APPLE_GLX))
CFLAGS.EXTRA += -I/usr/X11R6/include -D'REGAL_APPLE_GLX'
LDFLAGS.GL = -L/usr/X11R6/lib -lXmu -lXi -lGLU -lGL -lXext -lX11
else
LDFLAGS.AGL = -framework AGL
LDFLAGS.GL = $(LDFLAGS.AGL) -framework OpenGL
LDFLAGS.GLUT = -framework GLUT
endif
LDFLAGS.STATIC =
LDFLAGS.DYNAMIC = -dynamiclib
WARN = -Wall -W -Wno-unused-parameter
CFLAGS.DEBUG = -g
CFLAGS.RELEASE = -O3
BIN.SUFFIX =
LIB.SONAME = lib$(NAME).$(SO_MAJOR).dylib
LIB.DEVLNK = lib$(NAME).dylib
LIB.SHARED = lib$(NAME).$(SO_VERSION).dylib
LIB.STATIC = lib$(NAME).a
LIB.FRAMEWORK = $(NAME)
LDFLAGS.SO = $(LDFLAGS.DYNAMIC) -install_name $(REGAL_DEST)/lib/$(LIB.SHARED) -current_version $(SO_VERSION) -compatibility_version $(SO_MAJOR)
Jump to Line
Something went wrong with that request. Please try again.