From 3d9e4808d3a79dc7eb7f5c7d19d82805dc80b84b Mon Sep 17 00:00:00 2001 From: Danilo Margarido Date: Wed, 7 Sep 2016 15:20:59 +0100 Subject: [PATCH] Finer control over glew.lib Allows building both, shared-only or static-only. --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 88b7a54..481f379 100644 --- a/Makefile +++ b/Makefile @@ -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