home *** CD-ROM | disk | FTP | other *** search
/ SGI Developer Toolbox 6.1 / SGI Developer Toolbox 6.1 - Disc 4.iso / src / exampleCode / inventor / SpaceballViewer / Makefile < prev    next >
Encoding:
Makefile  |  1994-08-02  |  1.6 KB  |  47 lines

  1. #!smake
  2.  
  3. PROGRAM = SceneViewer
  4.  
  5. C++FILES = SceneViewer.c++ SoSceneViewer.c++ SvManipList.c++ MySlider.c++\
  6.            MyFloatCBList.c++ MyColEd.c++ MyColPatch.c++ MyColSlider.c++\
  7.            MyColWheel.c++ MyUIRegion.c++
  8. HFILES = SoSceneViewer.h SoSceneMenu.h SvManipList.h MySlider.h\
  9.            MyFloatCallbackList.h MyColorEditor.h MyColorPatch.h\
  10.            MyColorSlider.h MyColorWheel.h MyUIRegion.h
  11.  
  12. # /usr/include/make/commondefs and /usr/include/make/commonrules
  13. # define some useful Makefile rules.  For example, they
  14. # defines a 'clean' target, so you can type 'make clean'
  15. # to remove all .o files (or other files generated during
  16. # compilation). See the file /usr/include/make/commonrules for
  17. # documentation on what targets are supported.
  18.  
  19. include /usr/include/make/commondefs
  20.  
  21. TARGETS = $(PROGRAM)
  22. #LC++OPTS=-g
  23.  
  24. # In IRIX 5.2, programs that directly make OpenGL and Inventor
  25. # calls will not quickstart because OpenGL is machine-specific,
  26. # and the version of OpenGL used when building Inventor will
  27. # usually not match the version of OpenGL installed on your
  28. # machine.  The LD_QUICKSTART_INFO line keeps the loader from
  29. # complaining about this.
  30. # See the "DSO" manual page for information on what quickstart is; see
  31. # the "rqs" manual page for information on how to "re-quickstart"
  32. # applications and libraries so that your Inventor applications will
  33. # startup more quickly.
  34. LD_QUICKSTART_INFO=
  35.  
  36. # Libraries to link with:
  37.  
  38. LLDLIBS = -lGLw -lGL -lX11 -lm -lInventorXt
  39.  
  40. default all: $(TARGETS)
  41.  
  42. include $(COMMONRULES)
  43.  
  44. $(TARGETS): $(OBJECTS)
  45.     $(C++F) -o $@ $(OBJECTS) $(LDFLAGS)
  46.  
  47.