Files
OpenSceneGraph/src/Makefile
Robert Osfield e87f7cf853 Updated the makefiles to all have the #!gmake reference to force IRIX
compilation using gmake rather than pmake or smake.  This gets round
issues with exporting OSGHOME.
2002-02-13 22:56:47 +00:00

49 lines
1.1 KiB
Makefile

#!gmake
SHELL=/bin/sh
DIRS = osg osgDB osgUtil osgGLUT
# comment out if you don't have the freetype and GLU1.3 library installed.
DIRS += osgText
DIRS += Demos
DIRS += osgPlugins
all :
for f in $(DIRS) ; do cd $$f; $(MAKE) || exit 1; cd ..; done
clean :
for f in $(DIRS) ; do cd $$f; $(MAKE) clean; cd ..; done
clobber :
for f in $(DIRS) ; do cd $$f; $(MAKE) clobber; cd ..; done
depend :
for f in $(DIRS) ; do cd $$f; $(MAKE) depend; cd ..; done
docs :
(cd osg; $(MAKE) docs;)
(cd osgUtil; $(MAKE) docs; )
(cd osgDB; $(MAKE) docs; )
(cd osgGLUT; $(MAKE) docs; )
(cd osgText; $(MAKE) docs; )
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
beautify :
for f in $(DIRS) ; do cd $$f; $(MAKE) beautify; cd ..; done
install :
for f in $(DIRS) ; do cd $$f; $(MAKE) install; cd ..; done
instlinks :
for f in $(DIRS) ; do cd $$f; $(MAKE) instlinks; cd ..; done
instclean :
for f in $(DIRS) ; do cd $$f; $(MAKE) instclean; cd ..; done
test :
(cd Demos; make test; )