OpenGl works now under GTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1360 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
16
utils/glcanvas/samples/cube/Makefile
Normal file
16
utils/glcanvas/samples/cube/Makefile
Normal file
@@ -0,0 +1,16 @@
|
||||
|
||||
CC = g++
|
||||
|
||||
cube: cube.o glcanvas.o
|
||||
$(CC) -o cube \
|
||||
cube.o glcanvas.o \
|
||||
`wx-config --libs` -lMesaGL -lMesaGLU
|
||||
|
||||
cube.o: cube.cpp
|
||||
$(CC) `wx-config --cflags` -I../../src -c cube.cpp
|
||||
|
||||
glcanvas.o: ../../src/glcanvas.cpp
|
||||
$(CC) `wx-config --cflags` `gtk-config --cflags` -I../../src -c ../../src/glcanvas.cpp
|
||||
|
||||
clean:
|
||||
rm -f *.o cube
|
Reference in New Issue
Block a user