Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
third-party
glew
Commits
06430b00
Commit
06430b00
authored
Mar 26, 2015
by
Nigel Stewart
Browse files
First try AR, then try LIBTOOL...
parent
1fed4995
Changes
2
Hide whitespace changes
Inline
Side-by-side
Makefile
View file @
06430b00
...
...
@@ -105,7 +105,11 @@ lib:
mkdir
lib
lib/$(LIB.STATIC)
:
$(LIB.OBJS)
ifneq
($(AR),)
$(AR)
$(ARFLAGS)
$@
$^
else
ifneq
($(LIBTOOL),)
$(LIBTOOL)
$@
$^
endif
ifneq
($(STRIP),)
$(STRIP)
-x
$@
endif
...
...
@@ -149,7 +153,14 @@ glew.pc: glew.pc.in
glew.lib.mx
:
lib lib/$(LIB.SHARED.MX) lib/$(LIB.STATIC.MX) glewmx.pc
lib/$(LIB.STATIC.MX)
:
$(LIB.OBJS.MX)
ifneq
($(AR),)
$(AR)
$(ARFLAGS)
$@
$^
else
ifneq
($(LIBTOOL),)
$(LIBTOOL)
$@
$^
endif
ifneq
($(STRIP),)
$(STRIP)
-x
$@
endif
lib/$(LIB.SHARED.MX)
:
$(LIB.SOBJS.MX)
$(LD)
$(LDFLAGS.SO.MX)
-o
$@
$^
$(LIB.LDFLAGS)
$(LIB.LIBS)
...
...
config/Makefile.darwin-universal
View file @
06430b00
NAME
=
$(GLEW_NAME)
CC
=
cc
LD
=
cc
AR
=
LIBTOOL
ARFLAGS
=
-static
-o
AR
=
LIBTOOL
=
libtool
-static
-o
STRIP
=
CFLAGS.EXTRA
=
-dynamic
-fno-common
#CFLAGS.EXTRA += -no-cpp-precomp
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment