summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorallen <allen@17b73243-c579-4c4c-a9d2-2d5706c11dac>1999-09-07 10:26:54 +0000
committerallen <allen@17b73243-c579-4c4c-a9d2-2d5706c11dac>1999-09-07 10:26:54 +0000
commita13fbce1f1a33bf745d83984baeed686222fb429 (patch)
treec802139fcad772d273297fd23c99b3d07347e82b
parent61cba56e6d0b478b03bfaf6593cd540d94514ec4 (diff)
Adding $MKDIRFLAGS needed for NT
git-svn-id: http://svn.cactuscode.org/flesh/trunk@883 17b73243-c579-4c4c-a9d2-2d5706c11dac
-rw-r--r--lib/make/make.configuration2
-rw-r--r--lib/make/make.thornlib2
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