summaryrefslogtreecommitdiffstats
path: root/src/glut/glx
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2006-06-22 22:50:48 +0000
committerBrian Paul <[email protected]>2006-06-22 22:50:48 +0000
commit0e794a1bc6885cf569c3dc07b7fd56725aee2c2e (patch)
tree6535a05d50a72c91571c1c366a5f297451b9c8c7 /src/glut/glx
parentb4517527ebe9933cd3f49da29a9443c1abaa8242 (diff)
New 'install' targets in makefile. See bug 2372.
Diffstat (limited to 'src/glut/glx')
-rw-r--r--src/glut/glx/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/glut/glx/Makefile b/src/glut/glx/Makefile
index 86920aba99d..49c775fb222 100644
--- a/src/glut/glx/Makefile
+++ b/src/glut/glx/Makefile
@@ -96,6 +96,13 @@ $(LIB_DIR)/$(GLUT_LIB_NAME): depend $(OBJECTS)
$(GLUT_LIB_DEPS) $(OBJECTS)
+install:
+ $(INSTALL) -d $(INSTALL_DIR)/include/GL
+ $(INSTALL) -d $(INSTALL_DIR)/lib
+ $(INSTALL) -m 644 $(TOP)/include/GL/glut.h $(INSTALL_DIR)/include/GL
+ $(COPY_LIBS) $(TOP)/lib/libglut* $(INSTALL_DIR)/lib
+
+
clean:
-rm -f *.o *~
-rm -f *.lo