[llvm-commits] CVS: llvm/Makefile.rules
John Criswell
criswell at cs.uiuc.edu
Mon Nov 24 12:32:02 PST 2003
Changes in directory llvm:
Makefile.rules updated: 1.158 -> 1.159
---
Log message:
Modified directory building rules so that using the cd program/alias is
not necessary.
---
Diffs of the changes: (+3 -3)
Index: llvm/Makefile.rules
diff -u llvm/Makefile.rules:1.158 llvm/Makefile.rules:1.159
--- llvm/Makefile.rules:1.158 Mon Nov 10 18:05:29 2003
+++ llvm/Makefile.rules Mon Nov 24 12:31:01 2003
@@ -395,7 +395,7 @@
ifdef DIRS
all install clean test bytecode ::
$(VERB) for dir in ${DIRS}; do \
- (cd $$dir; $(MAKE) $@) || exit 1; \
+ ($(MAKE) -C $$dir $@) || exit 1; \
done
endif
@@ -408,7 +408,7 @@
bytecode :: $(addsuffix /.makebytecode, $(PARALLEL_DIRS))
%/.makeall %/.makeinstall %/.makeclean %/.maketest %/.makebytecode:
- $(VERB) cd $(@D); $(MAKE) $(subst $(@D)/.make,,$@)
+ $(VERB) $(MAKE) -C $(@D) $(subst $(@D)/.make,,$@)
endif
# Handle directories that may or may not exist
@@ -417,7 +417,7 @@
$(VERB) for dir in ${OPTIONAL_DIRS}; do \
if [ -d $$dir ]; \
then\
- (cd $$dir; $(MAKE) $@) || exit 1; \
+ ($(MAKE) -C$$dir $@) || exit 1; \
fi \
done
endif
More information about the llvm-commits
mailing list