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
This commit is contained in:
ikits 2005-05-16 04:14:15 +00:00
parent 184e91489c
commit 161091bc61

View File

@ -7,6 +7,8 @@
include ../config/version include ../config/version
#GLEW_SPLIT_SOURCE = yes
SHELL = bash SHELL = bash
REGISTRY = registry REGISTRY = registry
REGISTRY_URL = http://oss.sgi.com/projects/ogl-sample/registry/ REGISTRY_URL = http://oss.sgi.com/projects/ogl-sample/registry/
@ -44,13 +46,17 @@ I.TARGETS = \
$(I.DEST)/wglew.h \ $(I.DEST)/wglew.h \
$(I.DEST)/glxew.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.TARGETS = \
$(S.DEST)/glew.c \ $(S.DEST)/glew.c \
$(S.DEST)/glewinfo.c $(S.DEST)/glewinfo.c
endif
# $(S.DEST)/glew_def.c \
# $(S.DEST)/glew_init.c \
# $(S.DEST)/glew_str.c \
D.TARGETS = \ D.TARGETS = \
$(D.DEST)/glew.html \ $(D.DEST)/glew.html \