diff options
Diffstat (limited to 'intern/ghost/Makefile')
-rw-r--r-- | intern/ghost/Makefile | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/intern/ghost/Makefile b/intern/ghost/Makefile index f809a32ac8f..e983c3a9cee 100644 --- a/intern/ghost/Makefile +++ b/intern/ghost/Makefile @@ -1,3 +1,5 @@ +# -*- mode: gnumakefile; tab-width: 8; indent-tabs-mode: t; -*- +# vim: tabstop=8 # # $Id$ # @@ -22,7 +24,7 @@ # # The Original Code is: all of this file. # -# Contributor(s): Hans Lambermont +# Contributor(s): Hans Lambermont, GSR # # ***** END GPL LICENSE BLOCK ***** # ghost main makefile. @@ -38,16 +40,13 @@ TESTDIRS = test include nan_subdirs.mk -install: all debug +install: $(ALL_OR_DEBUG) @[ -d $(NAN_GHOST) ] || mkdir $(NAN_GHOST) @[ -d $(NAN_GHOST)/include ] || mkdir $(NAN_GHOST)/include - @[ -d $(NAN_GHOST)/lib ] || mkdir $(NAN_GHOST)/lib - @[ -d $(NAN_GHOST)/lib/debug ] || mkdir $(NAN_GHOST)/lib/debug - @../tools/cpifdiff.sh $(DIR)/libghost.a $(NAN_GHOST)/lib/ - @../tools/cpifdiff.sh $(DIR)/debug/libghost.a $(NAN_GHOST)/lib/debug/ + @[ -d $(NAN_GHOST)/lib/$(DEBUG_DIR) ] || mkdir $(NAN_GHOST)/lib/$(DEBUG_DIR) + @../tools/cpifdiff.sh $(DIR)/$(DEBUG_DIR)libghost.a $(NAN_GHOST)/lib/$(DEBUG_DIR) ifeq ($(OS),darwin) - ranlib $(NAN_GHOST)/lib/libghost.a - ranlib $(NAN_GHOST)/lib/debug/libghost.a + ranlib $(NAN_GHOST)/lib/$(DEBUG_DIR)libghost.a endif @../tools/cpifdiff.sh *.h $(NAN_GHOST)/include/ |