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
This commit is contained in:
Hans Lambermont
2003-01-19 21:17:45 +00:00
parent e4ef29295c
commit 016cca242f
2 changed files with 4 additions and 4 deletions

1
extern/ode/Makefile vendored
View File

@@ -52,7 +52,6 @@ all:
install: all
ifeq ($(OS),$(findstring $(OS), "freebsd linux"))
@echo "====> $(MAKE) $@ in $(SOURCEDIR)"
[ -d $(LCGDIR) ] || mkdir $(LCGDIR)
[ -d $(NAN_ODE) ] || mkdir $(NAN_ODE)
[ -d $(NAN_ODE)/include ] || mkdir $(NAN_ODE)/include