From a13fbce1f1a33bf745d83984baeed686222fb429 Mon Sep 17 00:00:00 2001 From: allen Date: Tue, 7 Sep 1999 10:26:54 +0000 Subject: Adding $MKDIRFLAGS needed for NT git-svn-id: http://svn.cactuscode.org/flesh/trunk@883 17b73243-c579-4c4c-a9d2-2d5706c11dac --- lib/make/make.configuration | 2 +- lib/make/make.thornlib | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/make/make.configuration b/lib/make/make.configuration index 219ca08e..06b1175c 100644 --- a/lib/make/make.configuration +++ b/lib/make/make.configuration @@ -66,7 +66,7 @@ $(EXEDIR)$(DIRSEP)$(EXE): $(CONFIG)/make.thornlist $(CONFIG)/cctk_version.h $(pa @echo $(DIVIDER) @echo Creating $(EXE) in $(EXEDIR) from $(THORNS) $(CC) $(DEBUG_C) $(CFLAGS) $(CCOMPILEONLY)$(OPTIONSEP)$(TOP)$(DIRSEP)datestamp.o -I$(CONFIG) $(subst /,$(DIRSEP),$(DATESTAMP)) - if [ ! -d $(EXEDIR) ]; then $(MKDIR) $(EXEDIR) ; fi + if [ ! -d $(EXEDIR) ]; then $(MKDIR) $(MKDIRFLAGS) $(EXEDIR) ; fi $(LD) $(CREATEEXE)$(OPTIONSEP)$(subst /,$(DIRSEP),$@) $(DEBUG_LD) $(LDFLAGS) $(EXTRAFLAGS) $(subst /,$(DIRSEP), $(TOP)/datestamp.o) $(CACTUSLIBLINKLINE) $(GENERAL_LIBRARIES) @echo $(DIVIDER) @echo All done ! diff --git a/lib/make/make.thornlib b/lib/make/make.thornlib index 80dbf046..cd6e9fe9 100644 --- a/lib/make/make.thornlib +++ b/lib/make/make.thornlib @@ -79,7 +79,7 @@ include $(CONFIG)/make.config.rules .PHONY: $(addsuffix .check, $(SUBDIRS)) $(addsuffix .check, $(SUBDIRS)) : - if [ ! -d $(basename $@) ] ; then $(MKDIR) $(basename $@) ; fi + if [ ! -d $(basename $@) ] ; then $(MKDIR) $(MKDIRFLAGS) $(basename $@) ; fi cd $(basename $@) ; $(MAKE) TOP=$(TOP) CONFIG=$(CONFIG) SRCDIR=$(SRCDIR)/$(basename $@) THORN=$(THORN) -f $(MAKE_DIR)/make.subdir # This one puts a file containing identity info into the build subdirectory -- cgit v1.2.3