This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

OpenGl - Simple Example - Header Files


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]