mirror of
https://github.com/nigels-com/glew.git
synced 2024-11-25 23:31:56 +00:00
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:
parent
184e91489c
commit
161091bc61
@ -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 \
|
||||||
|
Loading…
Reference in New Issue
Block a user