Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Want <cwant@ualberta.ca>2003-12-07 22:03:43 +0300
committerChris Want <cwant@ualberta.ca>2003-12-07 22:03:43 +0300
commit3ae81a528505783858de036ea629a5fcf206da49 (patch)
tree9ee4a49472628982f02ca3352cbea5abdd0f5966 /source/nan_subdirs.mk
parenta72fcb115bf28acd22fec078d87b11bee6305435 (diff)
Introducing the 'quicky' make.
Sick of waiting for make to traverse all of those directories when you only modified one little file? Well, enough of that nonsense! Doing "make quicky=dir" (e.g. "make quicky=source/blender/src") goes to that directory, compiles the stuff in there (and the subdirectories), then instantly links blender afterwards. Also has support for more than one directory using quotes, e.g., 1 dir: make quicky=source/blender/src 2 dirs: make quicky="source/blender/src source/blender/blenkernel"
Diffstat (limited to 'source/nan_subdirs.mk')
-rw-r--r--source/nan_subdirs.mk9
1 files changed, 9 insertions, 0 deletions
diff --git a/source/nan_subdirs.mk b/source/nan_subdirs.mk
index 40c7b63347b..bdd645c6144 100644
--- a/source/nan_subdirs.mk
+++ b/source/nan_subdirs.mk
@@ -38,6 +38,14 @@ default: all
# do not add install here. install target can only be used in intern/
# top level Makefiles
all debug clean::
+ifdef quicky
+ @for i in $(quicky); do \
+ echo "====> $(MAKE) $@ in $$i";\
+ $(MAKE) -C $$i $@ quicky= || exit 1;\
+ done
+ $(MAKE) -C source link || exit 1
+ @echo "${quicky}"
+else
ifdef DIR
@# Make sure object toplevels are there
@[ -d $(NAN_OBJDIR) ] || mkdir $(NAN_OBJDIR)
@@ -52,6 +60,7 @@ all debug clean::
echo "====> $(MAKE) $@ in $(SOURCEDIR)/$$i" ;\
$(MAKE) -C $$i $@ || exit 1; \
done
+endif
test::
ifdef TESTDIRS