summaryrefslogtreecommitdiff
path: root/include/makeinclude
diff options
context:
space:
mode:
authorcoryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2000-11-08 22:16:24 +0000
committercoryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2000-11-08 22:16:24 +0000
commit93afdb2b15cc50f3528ef7f51839ca988692671a (patch)
treeaaebfdbbca4a1653299414c5355dff1dee31769d /include/makeinclude
parent6c3ce7313c0846ff8281937f3429a98c2d9fd6da (diff)
downloadATCD-93afdb2b15cc50f3528ef7f51839ca988692671a.tar.gz
ChangeLogTag:Wed Nov 8 14:10:20 2000 Carlos O'Ryan <coryan@uci.edu>
Diffstat (limited to 'include/makeinclude')
-rw-r--r--include/makeinclude/rules.local.GNU12
1 files changed, 9 insertions, 3 deletions
diff --git a/include/makeinclude/rules.local.GNU b/include/makeinclude/rules.local.GNU
index 472cf393e6d..22cfd3b795b 100644
--- a/include/makeinclude/rules.local.GNU
+++ b/include/makeinclude/rules.local.GNU
@@ -112,7 +112,7 @@ $(VDIR).creation_stamp:
@echo > $@
else
$(VDIR).creation_stamp:
- @-mkdir $(VDIR)
+ @-test -d $(VDIR) || mkdir $(VDIR)
@touch $@
endif
@@ -123,7 +123,7 @@ $(VSHDIR).creation_stamp:
@echo > $@
else
$(VSHDIR).creation_stamp:
- @-mkdir $(VSHDIR)
+ @-test -d $(VSHDIR) || mkdir $(VSHDIR)
@touch $@
endif
endif
@@ -291,7 +291,13 @@ rcs_info.local:
build.objdirs: $(OBJDIRS)
-$(OBJDIRS): $(VDIR).creation_stamp $(VSHDIR).creation_stamp
+ifeq ($(OS),"Windows_NT")
+$(OBJDIRS):
+ @if not exist $@ mkdir $@
+else
+$(OBJDIRS):
+ @-test -d $@ || mkdir $@
+endif
#---------------------------------------------------------------------------
# Source file splitting