[Plib-cvs] plib/examples/src/pui Makefile.am,1.6,1.7 simple.cxx,1.8,1.9
Brought to you by:
sjbaker
From: Sebastian U. <ud...@us...> - 2002-09-01 05:22:27
|
Update of /cvsroot/plib/plib/examples/src/pui In directory usw-pr-cvs1:/tmp/cvs-serv24796/src/pui Modified Files: Makefile.am simple.cxx Log Message: Support for building only certain examples Index: Makefile.am =================================================================== RCS file: /cvsroot/plib/plib/examples/src/pui/Makefile.am,v retrieving revision 1.6 retrieving revision 1.7 diff -u -d -r1.6 -r1.7 --- Makefile.am 7 Jul 2002 18:07:13 -0000 1.6 +++ Makefile.am 1 Sep 2002 05:22:25 -0000 1.7 @@ -1,3 +1,5 @@ +if BUILD_PUI + noinst_PROGRAMS = simple complex widget_list PointPicker simple_SOURCES = simple.cxx @@ -17,6 +19,8 @@ PointPicker_LDADD = -lplibpu -lplibfnt -lplibsg -lplibul $(GLUT_LIBS) \ $(OGL_LIBS) + +endif EXTRA_DIST = complex.dsp simple.dsp PointPicker.dsp widget_list.dsp Index: simple.cxx =================================================================== RCS file: /cvsroot/plib/plib/examples/src/pui/simple.cxx,v retrieving revision 1.8 retrieving revision 1.9 diff -u -d -r1.8 -r1.9 --- simple.cxx 20 Jun 2002 20:11:02 -0000 1.8 +++ simple.cxx 1 Sep 2002 05:22:25 -0000 1.9 @@ -89,6 +89,8 @@ b -> setLegend ( "Say Hello" ) ; b -> setCallback ( button_cb ) ; +printf ( "%d\n", PLIB_VERSION ) ; + glutMainLoop () ; return 0 ; |