Finer control over glew.lib

Allows building both, shared-only or static-only.
This commit is contained in:
Danilo Margarido 2016-09-07 15:20:59 +01:00 committed by Nigel Stewart
parent cdc3aeacde
commit 3d9e4808d3

View File

@ -98,7 +98,10 @@ LIB.OBJS := $(LIB.OBJS:.c=.o)
LIB.SOBJS := $(addprefix tmp/$(SYSTEM)/default/shared/,$(LIB.SRCS.NAMES))
LIB.SOBJS := $(LIB.SOBJS:.c=.o)
glew.lib: lib lib/$(LIB.SHARED) lib/$(LIB.STATIC) glew.pc
glew.lib: glew.lib.shared glew.lib.static
glew.lib.shared: lib lib/$(LIB.SHARED) glew.pc
glew.lib.static: lib lib/$(LIB.STATIC) glew.pc
lib:
mkdir lib