summaryrefslogtreecommitdiff
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
commitbe6c51852ac8c059da97347218c402bce1be9c33 (patch)
tree7c35d037aaa0de8869011d4154ee2cc3c01f8bd7
parentf8b0fc4931a7de8fe0f41e3b8e1401ee9722aea1 (diff)
New 'install' targets in makefile. See bug 2372.
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index e21cbbd..af25f7d 100644
--- a/Makefile
+++ b/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