diff options
author | Chris Want <cwant@ualberta.ca> | 2009-03-19 04:50:45 +0300 |
---|---|---|
committer | Chris Want <cwant@ualberta.ca> | 2009-03-19 04:50:45 +0300 |
commit | 77e0199dc386c26aa106a884f24b336fce82d351 (patch) | |
tree | 1e7d355e193947d3b52b4ab7ea2327953efdb05b /intern/string | |
parent | 3aab50f775e4928d3ee525a999e2b4c995ae9ae4 (diff) |
Makefile updates for Blender 2.5 (from GSR)
Diffstat (limited to 'intern/string')
-rw-r--r-- | intern/string/Makefile | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/intern/string/Makefile b/intern/string/Makefile index e885b87babe..7972defd406 100644 --- a/intern/string/Makefile +++ b/intern/string/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 ***** # string main makefile. @@ -38,16 +40,13 @@ DIRS = intern include nan_subdirs.mk -install: all debug +install: $(ALL_OR_DEBUG) @[ -d $(NAN_STRING) ] || mkdir $(NAN_STRING) @[ -d $(NAN_STRING)/include ] || mkdir $(NAN_STRING)/include - @[ -d $(NAN_STRING)/lib ] || mkdir $(NAN_STRING)/lib - @[ -d $(NAN_STRING)/lib/debug ] || mkdir $(NAN_STRING)/lib/debug - @../tools/cpifdiff.sh $(DIR)/libstring.a $(NAN_STRING)/lib/ - @../tools/cpifdiff.sh $(DIR)/debug/libstring.a $(NAN_STRING)/lib/debug/ + @[ -d $(NAN_STRING)/lib/$(DEBUG_DIR) ] || mkdir $(NAN_STRING)/lib/$(DEBUG_DIR) + @../tools/cpifdiff.sh $(DIR)/$(DEBUG_DIR)libstring.a $(NAN_STRING)/lib/$(DEBUG_DIR) ifeq ($(OS),darwin) - ranlib $(NAN_STRING)/lib/libstring.a - ranlib $(NAN_STRING)/lib/debug/libstring.a + ranlib $(NAN_STRING)/lib/$(DEBUG_DIR)libstring.a endif @../tools/cpifdiff.sh *.h $(NAN_STRING)/include/ |