OpenGl - Simple Example - Header Files

Georg Fusz fusz@cadlab.tu-berlin.de
Fri Nov 19 02:38:00 GMT 1999


Thanks to hint from "Paul Garceau" <pgarceau@teleport.com>
i found a simple example for an OpenGl-program.

The Example is found on
http://www.geocities.com/SiliconValley/Code/1219/opengl32.html

Here is my Makefile : very straight foreward

# $Id: Makefile,v 1.1 1999/11/18 21:37:33 fusz Exp $

CFLAGS = -g 

CC = gcc

%.o : %.c 
	$(CC) -c $(CFLAGS) $(CPPFLAGS) $< -o $@



objects =  sample.o

sample.exe: $(objects) Makefile
	$(CC) -g -o $@ $(objects) -mwindows -lopengl32


Headerfiles:

I used files looking similiar to the ones in Visual C++ version 4.0 and
stored them in i386-mingw32msvc/include/gl.

Georg Fusz

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com



More information about the Cygwin mailing list