mirror of
https://github.com/nigels-com/glew.git
synced 2024-11-22 05:45:07 +00:00
*** empty log message ***
git-svn-id: https://glew.svn.sourceforge.net/svnroot/glew/trunk/glew@166 783a27ee-832a-0410-bc00-9f386506c6dd
This commit is contained in:
parent
40db014d4d
commit
d35d316114
@ -21,6 +21,7 @@ EXT = extensions
|
||||
BLACKLIST = blacklist
|
||||
|
||||
PARSE_SPEC = parse_spec.pl
|
||||
SYSTEM = $(strip $(shell uname -s))
|
||||
|
||||
TOP = ..
|
||||
I.DEST = $(TOP)/include/GL
|
||||
@ -43,9 +44,14 @@ $(REGISTRY)/.dummy: $(BIN)/update_registry.sh
|
||||
$(EXT)/.dummy: $(REGISTRY)/.dummy
|
||||
rm -rf $(EXT)
|
||||
$(BIN)/update_ext.sh $(EXT) $(REGISTRY) $(BLACKLIST)
|
||||
ifeq ($(patsubst Darwin%,Darwin,$(SYSTEM)), Darwin)
|
||||
find $(CORE) -maxdepth 1 -type f | grep -v VERSION | xargs -J % cp % $(EXT)
|
||||
else
|
||||
find $(CORE) -maxdepth 1 -type f | grep -v VERSION | xargs cp --target-directory=$(EXT)
|
||||
endif
|
||||
touch $@
|
||||
|
||||
|
||||
$(I.DEST)/glew.h: $(EXT)/.dummy
|
||||
test -d $(I.DEST) || mkdir -p $(I.DEST)
|
||||
cp -f $(SRC)/glew_pre.h $@
|
||||
|
Loading…
Reference in New Issue
Block a user