This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
OpenGl - Simple Example - Header Files
- To: Cygnus Mailing List <cygwin at sourceware dot cygnus dot com>
- Subject: OpenGl - Simple Example - Header Files
- From: Georg Fusz <fusz at cadlab dot tu-berlin dot de>
- Date: Fri, 19 Nov 1999 11:38:29 +0100
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