summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 6696bf7..bdf0f9c 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,6 @@
+
# $Id$
+
os=$(shell uname -s)
ifeq ($(os),Darwin)
@@ -79,8 +81,10 @@ $(LIBIVY_GLFW_SHARED) : $(OBJECTS_GLFW)
install:
# headers
+ mkdir -p $(DESTDIR)$(PREFIX)/include/Ivy
install -m 0644 Ivy*.h $(DESTDIR)$(PREFIX)/include/Ivy
# libs
+ mkdir -p $(DESTDIR)$(PREFIX)/lib
install -m 0644 $(LIBIVY_STATIC) $(DESTDIR)$(PREFIX)/lib
install -m 0644 $(LIBIVY_GLFW_STATIC) $(DESTDIR)$(PREFIX)/lib
install -m 0644 $(LIBIVY_SHARED) $(DESTDIR)$(PREFIX)/lib