diff options
author | Brian Paul <brianp@vmware.com> | 2009-02-10 16:44:02 -0700 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2009-02-10 16:44:02 -0700 |
commit | 5340b6dff73a0a23531ce2a5f28fba8303adab6e (patch) | |
tree | b141fc3648568dd8b941c966059e6ed32a8bd0ad /src/glew/Makefile | |
parent | 9fd26daec24f21dbe17afcb2e2ab272667ee9a69 (diff) | |
parent | ee4c921b65fb76998711f3c40330505cbc49a0e0 (diff) |
Merge commit 'origin/gallium-master-merge'
This is the big merge of the gallium-0.2 branch into master.
gallium-master-merge was just the staging area for it.
Both gallium-0.2 and gallium-master-merge are considered closed now.
Conflicts:
progs/demos/Makefile
src/mesa/main/state.c
src/mesa/main/texenvprogram.c
Diffstat (limited to 'src/glew/Makefile')
-rw-r--r-- | src/glew/Makefile | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/src/glew/Makefile b/src/glew/Makefile new file mode 100644 index 0000000000..49ee8b6594 --- /dev/null +++ b/src/glew/Makefile @@ -0,0 +1,51 @@ +# src/glew/Makefile + +TOP = ../.. +include $(TOP)/configs/current + + +##### MACROS ##### + +GLEW_LIB_NAME = libglew.a + +MAJOR = 1 +MINOR = 5 +TINY = 0 + +SOURCES = \ + glew.c + + +OBJECTS = $(SOURCES:.c=.o) + + +##### RULES ##### + +.c.o: + $(CC) -c -I$(TOP)/include $(X11_INCLUDES) $(CFLAGS) $< + + + +##### TARGETS ##### + +default: $(TOP)/$(LIB_DIR)/$(GLEW_LIB_NAME) + + + +# Make the library +$(TOP)/$(LIB_DIR)/$(GLEW_LIB_NAME): depend $(OBJECTS) + $(MKLIB) -o $(GLEW_LIB) -static -install $(TOP)/$(LIB_DIR) $(OBJECTS) + + +clean: + -rm -f *.o *~ + -rm -f depend depend.bak + + +depend: $(SOURCES) + @ rm -f depend + @ touch depend + @ $(MKDEP) $(MKDEP_OPTIONS) -I$(TOP)/include $(SOURCES) \ + $(X11_INCLUDES) > /dev/null + +include depend |