--- work/OpenSceneGraph-0.8/Makefile Thu Jan 25 15:16:28 2001 +++ Makefile Thu Apr 26 20:46:54 2001 @@ -6,10 +6,10 @@ all : $(MAKE_PREP) - for f in $(DIRS) ; do cd $$f; make; cd ..; done + for f in $(DIRS) ; do cd $$f; $(MAKE) || exit 1; cd ..; done docs : - cd src; make docs; + cd src; $(MAKE) docs; Make/makedefs : @@ -34,65 +34,71 @@ cd Make;\ ln -sf makedefs.linux makedefs;\ ln -sf makerules.linux makerules - make + $(MAKE) + +freebsd: + cd Make;\ + ln -sf makedefs.freebsd makedefs;\ + ln -sf makerules.freebsd makerules + $(MAKE) irix: cd Make;\ ln -sf makedefs.irix.nonstd makedefs ;\ ln -sf makerules.irix makerules - make + $(MAKE) irix.std: cd Make;\ ln -sf makedefs.irix.std makedefs ;\ ln -sf makerules.irix makerules - make + $(MAKE) help : @echo Usage : - @echo \ make - @echo \ make linux - @echo \ make irix.std - @echo \ make irix.nonstd - @echo \ make depend - @echo \ make clean - @echo \ make clobber - @echo \ make doc - @echo \ make snapshot - @echo \ make install - @echo \ make instlinks - @echo \ make instclean + @echo \ $(MAKE) + @echo \ $(MAKE) linux + @echo \ $(MAKE) irix.std + @echo \ $(MAKE) irix.nonstd + @echo \ $(MAKE) depend + @echo \ $(MAKE) clean + @echo \ $(MAKE) clobber + @echo \ $(MAKE) doc + @echo \ $(MAKE) snapshot + @echo \ $(MAKE) install + @echo \ $(MAKE) instlinks + @echo \ $(MAKE) instclean clean : $(MAKE_PREP) - for f in $(DIRS) ; do cd $$f; make clean; cd ..; done + for f in $(DIRS) ; do cd $$f; $(MAKE) clean; cd ..; done find lib -type f -exec rm {} \; rm -f bin/* clobber : $(MAKE_PREP) clean - for f in $(DIRS) ; do cd $$f; make clobber; cd ..; done + for f in $(DIRS) ; do cd $$f; $(MAKE) clobber; cd ..; done rm -f $(MAKE_PREP) depend : $(MAKE_PREP) - for f in $(DIRS) ; do cd $$f; make depend; cd ..; done + for f in $(DIRS) ; do cd $$f; $(MAKE) depend; cd ..; done to_unix : for f in $(DIRS) ; do cd $$f; to_unix Makefile Makefile; cd ..; done - for f in $(DIRS) ; do cd $$f; make to_unix; cd ..; done + for f in $(DIRS) ; do cd $$f; $(MAKE) to_unix; cd ..; done cd include/OSG; for f in *.h ; do to_unix $$f $$f; done snapshot: - make docs; - make clobber; + $(MAKE) docs; + $(MAKE) clobber; (cd ..; tar cvf - OpenSceneGraph-0.8 | gzip > osg_src-`date "+%Y%m%d"`.tar.gz) install : - for f in $(DIRS) ; do cd $$f; make install; cd ..; done + for f in $(DIRS) ; do cd $$f; $(MAKE) install; cd ..; done instlinks : - for f in $(DIRS) ; do cd $$f; make instlinks; cd ..; done + for f in $(DIRS) ; do cd $$f; $(MAKE) instlinks; cd ..; done instclean : - for f in $(DIRS) ; do cd $$f; make instclean; cd ..; done + for f in $(DIRS) ; do cd $$f; $(MAKE) instclean; cd ..; done