Update of /cvsroot/csdopenglnet/csdOpenGL/samples
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30177/samples
Modified Files:
Makefile gears.cs texture.cs triangle.cs
Log Message:
new build system
Index: gears.cs
===================================================================
RCS file: /cvsroot/csdopenglnet/csdOpenGL/samples/gears.cs,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** gears.cs 11 Sep 2004 18:52:46 -0000 1.8
--- gears.cs 20 Oct 2004 09:12:14 -0000 1.9
***************
*** 18,22 ****
Debug.WriteLine( "Initializiing GLUT" );
! glutInitDisplayMode( GLUT_RGB | GLUT_DOUBLE );
glutInitWindowSize( 480, 480 );
glutCreateWindow("Gears");
--- 18,22 ----
Debug.WriteLine( "Initializiing GLUT" );
! glutInitDisplayMode( GLUT_RGB | GLUT_DOUBLE | GLUT_DEPTH );
glutInitWindowSize( 480, 480 );
glutCreateWindow("Gears");
Index: Makefile
===================================================================
RCS file: /cvsroot/csdopenglnet/csdOpenGL/samples/Makefile,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** Makefile 11 Sep 2004 09:07:14 -0000 1.10
--- Makefile 20 Oct 2004 09:12:14 -0000 1.11
***************
*** 1,33 ****
! CC=mcs
! DEBUG=/d:DEBUG
! DEBUG=
! OPTS=$(DEBUG)
LIBS=csDragons.OpenGL.dll csDragons.Math.dll csDragons.OpenGL.Tools.dll
- MCS=$(CC) $(OPTS) -lib:/usr/lib/mono/gtk-sharp -lib:../GL -lib:../math -lib:../tools
PACKAGE=csDragons
DEMOS=triangle.exe texture.exe gears.exe
LIBCONFIGS=$(foreach lib,$(LIBS),$(lib).config)
LIBOPTS=$(foreach lib,$(LIBS),-r $(lib))
! all: $(LIBS) $(DEMOS)
ifeq ($(GTK),1)
$(MAKE) -f Makefile.gtk
endif
-
- csDragons.OpenGL.dll:
- ln -sf ../GL/csDragons.OpenGL.dll .
- ln -sf ../GL/csDragons.OpenGL.dll.config .
-
- csDragons.Math.dll:
- ln -sf ../math/csDragons.Math.dll .
- ln -sf ../math/csDragons.Math.dll.config .
-
- csDragons.OpenGL.Tools.dll:
- ln -sf ../tools/csDragons.OpenGL.Tools.dll .
- ln -sf ../tools/csDragons.OpenGL.Tools.dll.config .
%.exe:%.cs
! $(MCS) $(LIBOPTS) -r:System.Drawing $^ -o $@
clean:
--- 1,21 ----
! include ../scripts/Makefile.Init
!
LIBS=csDragons.OpenGL.dll csDragons.Math.dll csDragons.OpenGL.Tools.dll
PACKAGE=csDragons
DEMOS=triangle.exe texture.exe gears.exe
+ TARGET=../build
LIBCONFIGS=$(foreach lib,$(LIBS),$(lib).config)
LIBOPTS=$(foreach lib,$(LIBS),-r $(lib))
! all: $(DEMOS)
! $(CP) Flag.bmp $(TARGET)
ifeq ($(GTK),1)
$(MAKE) -f Makefile.gtk
endif
%.exe:%.cs
! $(MCS) -lib:../build $(LIBOPTS) -r:System.Drawing $^ -o $@
! $(CP) $@ $(TARGET)
clean:
***************
*** 35,45 ****
rm -f $(DEMOS)
rm -f $(LIBS) $(LIBCONFIGS)
-
- .IGNORE:
- clean
-
- .EXPORT_ALL_VARIABLES:
-
- .PHONY:
- clean
--- 23,25 ----
Index: texture.cs
===================================================================
RCS file: /cvsroot/csdopenglnet/csdOpenGL/samples/texture.cs,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** texture.cs 16 Aug 2004 15:44:10 -0000 1.4
--- texture.cs 20 Oct 2004 09:12:14 -0000 1.5
***************
*** 12,16 ****
public TextureTest() {
! glutInitDisplayMode( 0 | 2 );
glutInitWindowSize( 600, 480 );
glutCreateWindow("Texture");
--- 12,16 ----
public TextureTest() {
! glutInitDisplayMode( GLUT_RGB | GLUT_DOUBLE | GLUT_DEPTH );
glutInitWindowSize( 600, 480 );
glutCreateWindow("Texture");
Index: triangle.cs
===================================================================
RCS file: /cvsroot/csdopenglnet/csdOpenGL/samples/triangle.cs,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** triangle.cs 6 Aug 2004 11:42:34 -0000 1.4
--- triangle.cs 20 Oct 2004 09:12:14 -0000 1.5
***************
*** 8,12 ****
public Triangle() {
! glutInitDisplayMode( 0 | 2 );
glutInitWindowSize( 600, 480 );
glutCreateWindow("Triangle");
--- 8,12 ----
public Triangle() {
! glutInitDisplayMode( GLUT_RGB | GLUT_DOUBLE | GLUT_DEPTH );
glutInitWindowSize( 600, 480 );
glutCreateWindow("Triangle");
|