diff options
author | Hans Lambermont <hans@lambermont.dyndns.org> | 2003-01-12 02:20:10 +0300 |
---|---|---|
committer | Hans Lambermont <hans@lambermont.dyndns.org> | 2003-01-12 02:20:10 +0300 |
commit | 80acb0412478a6705f7a3f364acd34c2045a34bf (patch) | |
tree | 78da807dea1fda279ff915b17150c1c3b8b152bf /extern/Makefile | |
parent | a1a8edffeb418a736c7eb7beaf16564774504030 (diff) |
Enable automated build and install runs on FreeBSD for ODE.
ODE does not build on FreeBSD out of the box, so an automated patchfile
is included as well.
The 'clean' target reverses the patches that were done by 'all'.
Diffstat (limited to 'extern/Makefile')
-rw-r--r-- | extern/Makefile | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/extern/Makefile b/extern/Makefile index 5dbc6f4a0f9..0225f78fabf 100644 --- a/extern/Makefile +++ b/extern/Makefile @@ -30,13 +30,17 @@ # ***** END GPL/BL DUAL LICENSE BLOCK ***** # Bounces make to subdirectories. Also installs after succesful all target. +include nan_definitions.mk + SOURCEDIR = extern +DIR = $(OCGDIR)/extern +DIRS = ode -ALLDIRS = ode +include nan_subdirs.mk -all:: - @for i in $(ALLDIRS); do \ +install: + @for i in $(DIRS); do \ echo "====> $(MAKE) $@ in $(SOURCEDIR)/$$i" ;\ - $(MAKE) -C $$i install || exit 1; \ + $(MAKE) -C $$i $@ || exit 1; \ done |