From 161091bc61fdf71a32c8e56c5bbad46c33e4f10e Mon Sep 17 00:00:00 2001 From: ikits Date: Mon, 16 May 2005 04:14:15 +0000 Subject: [PATCH] Added option for splitting the source into multiple files git-svn-id: https://glew.svn.sourceforge.net/svnroot/glew/trunk/glew@419 783a27ee-832a-0410-bc00-9f386506c6dd --- auto/Makefile | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/auto/Makefile b/auto/Makefile index 5b7cff8..213aa78 100644 --- a/auto/Makefile +++ b/auto/Makefile @@ -7,6 +7,8 @@ include ../config/version +#GLEW_SPLIT_SOURCE = yes + SHELL = bash REGISTRY = registry REGISTRY_URL = http://oss.sgi.com/projects/ogl-sample/registry/ @@ -44,13 +46,17 @@ I.TARGETS = \ $(I.DEST)/wglew.h \ $(I.DEST)/glxew.h +ifeq (yes,$(GLEW_SPLIT_SOURCE)) +S.TARGETS = \ + $(S.DEST)/glew_def.c \ + $(S.DEST)/glew_init.c \ + $(S.DEST)/glew_str.c \ + $(S.DEST)/glewinfo.c +else S.TARGETS = \ $(S.DEST)/glew.c \ $(S.DEST)/glewinfo.c - -# $(S.DEST)/glew_def.c \ -# $(S.DEST)/glew_init.c \ -# $(S.DEST)/glew_str.c \ +endif D.TARGETS = \ $(D.DEST)/glew.html \