delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/11/19/05:39:20

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT sourceware DOT cygnus DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-ID: <383528A5.EB7EB289@cadlab.tu-berlin.de>
Date: Fri, 19 Nov 1999 11:38:29 +0100
From: Georg Fusz <fusz AT cadlab DOT tu-berlin DOT de>
X-Mailer: Mozilla 4.7 [en] (WinNT; I)
X-Accept-Language: en
MIME-Version: 1.0
To: Cygnus Mailing List <cygwin AT sourceware DOT cygnus DOT com>
Subject: OpenGl - Simple Example - Header Files

Thanks to hint from "Paul Garceau" <pgarceau AT teleport DOT 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 AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019