[GtkGLExt] Help please: with simple example ...
- From: James Don <jimdon sympatico ca>
- To: gtkglext-list gnome org
- Subject: [GtkGLExt] Help please: with simple example ...
- Date: Sun, 22 Feb 2004 22:50:28 -0500
Hi there ...
I can compile code with gtk-2.0 ...
However I am having troubles finding a simple example of a build call
for gtkglext code ... my make file is below
Any help would be great ... thanks in advance ... i will keep
digging/googleing for now on my own ...
Jim
ALL=program program1
OBJFILES=main.o
TESTS=test1
INCLUDE=-I./ -I/usr/local/include/gtkglext-1.0/
#INCLUDE=-I/usr/include/gtk-2.0/
COMPILEFLAGS=-Wall -g $(INCLUDE) `pkg-config --cflags gtk+-2.0`
LINKFLAGS=-Wall -g $(INCLUDE) `pkg-config --cflags --libs gtk+-2.0`
%.o: %.cc
g++ $(COMPILEFLAGS) -c $<
all: $(ALL)
program: $(OBJFILES)
g++ $(LINKFLAGS) $(OBJFILES) -lpthread -o program
program1: gearscopy.o
g++ $(LINKFLAGS) gearscopy.o -lpthread -o program
clean:
rm -f $(ALL)
rm -f $(OBJFILES)
test: $(TESTS)
test1:
./program
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]