summaryrefslogtreecommitdiff
path: root/src/glw
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2006-06-22 22:50:48 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2006-06-22 22:50:48 +0000
commit0e794a1bc6885cf569c3dc07b7fd56725aee2c2e (patch)
tree6535a05d50a72c91571c1c366a5f297451b9c8c7 /src/glw
parentb4517527ebe9933cd3f49da29a9443c1abaa8242 (diff)
New 'install' targets in makefile. See bug 2372.
Diffstat (limited to 'src/glw')
-rw-r--r--src/glw/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/glw/Makefile b/src/glw/Makefile
index e21cbbd405..af25f7dcbc 100644
--- a/src/glw/Makefile
+++ b/src/glw/Makefile
@@ -25,6 +25,11 @@ OBJECTS = $(GLW_SOURCES:.c=.o)
default: $(LIB_DIR)/$(GLW_LIB_NAME)
+install:
+ $(INSTALL) -d $(INSTALL_DIR)/include/GL
+ $(INSTALL) -d $(INSTALL_DIR)/lib
+ $(INSTALL) -m 644 *.h $(INSTALL_DIR)/include/GL
+ $(COPY_LIBS) $(TOP)/lib/libGLw.* $(INSTALL_DIR)/lib
clean:
-rm depend depend.bak