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:
authorHans Lambermont <hans@lambermont.dyndns.org>2003-01-20 00:17:45 +0300
committerHans Lambermont <hans@lambermont.dyndns.org>2003-01-20 00:17:45 +0300
commit016cca242f2dd0215252d37589f3fdd461218361 (patch)
treef84cc60b4c168138f3e03165bb83151ecc0f56a8 /extern/Makefile
parente4ef29295c602fff4b4a54b471857edbf08d7200 (diff)
reshuffle the 'install' target :
- 'all' in extern/ first builds every subdir, then also 'install's the header files and the library. This way a top-level Makefile only needs to call 'all' for extern/ and have it build and install. - 'clean' still works as it should
Diffstat (limited to 'extern/Makefile')
-rw-r--r--extern/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/extern/Makefile b/extern/Makefile
index 0225f78fabf..b39ddf09683 100644
--- a/extern/Makefile
+++ b/extern/Makefile
@@ -38,9 +38,10 @@ DIRS = ode
include nan_subdirs.mk
-install:
+# we're not quite ready with the 'all' target just yet:
+install all::
@for i in $(DIRS); do \
- echo "====> $(MAKE) $@ in $(SOURCEDIR)/$$i" ;\
- $(MAKE) -C $$i $@ || exit 1; \
+ echo "====> $(MAKE) install in $(SOURCEDIR)/$$i" ;\
+ $(MAKE) -C $$i install || exit 1; \
done