#!nmake # # Copyright (c) 1999 Silicon Graphics, Inc. All rights reserved. # # THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND, # EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY # WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. # # IN NO EVENT SHALL SILICON GRAPHICS BE LIABLE FOR ANY SPECIAL, INCIDENTAL, # INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND, OR ANY DAMAGES WHATSOEVER # RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER OR NOT ADVISED OF THE # POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF LIABILITY, ARISING OUT OF OR IN # CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. # # # # Win32 Makefile for OpenGL Programming class example programs # # Note: This file builds non-debug unless DEBUG=_DEBUG is specified # on the nmake command line. # # # defines !IFDEF DEBUG DEBUG_FLAG=$(DEBUG) !ELSE DEBUG_FLAG=NDEBUG !ENDIF SUBDIRS= \ alpha_blending.dir \ animation.dir \ depth_buffer.dir \ index_lighting.dir \ lighting.dir \ modeling.dir \ performance.dir \ rendering.dir \ text.dir \ texture.dir \ transformations.dir \ viewing.dir \ viewports.dir \ windows.dir CLEAN = $(SUBDIRS:.dir=.clean) CLOBBER = $(SUBDIRS:.dir=.clobber) # default rule default : $(SUBDIRS) # cleanup rules clean : $(CLEAN) clobber : $(CLOBBER) # inference rules $(SUBDIRS) : @echo. @echo Making in $* subdirectory... @cd $* @nmake -f Makefile.win -nologo DEBUG=$(DEBUG_FLAG) @cd .. $(CLEAN) : @del *~ @echo. @echo Cleaning in $* subdirectory... @cd $* @nmake -f Makefile.win -nologo DEBUG=$(DEBUG_FLAG) clean @cd .. $(CLOBBER) : @echo. @echo Clobbering in $* subdirectory... @cd $* @nmake -f Makefile.win -nologo DEBUG=$(DEBUG_FLAG) clobber @cd ..