summaryrefslogtreecommitdiff
path: root/lib/make
diff options
context:
space:
mode:
Diffstat (limited to 'lib/make')
-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