X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f6656ccb149683950e871b5022d2b88b03712165..c35c94f6cd6bba8462155cf7239a03f33640ee17:/samples/opengl/penguin/makefile.unx?ds=sidebyside diff --git a/samples/opengl/penguin/makefile.unx b/samples/opengl/penguin/makefile.unx index bfa2684f1d..778d905184 100644 --- a/samples/opengl/penguin/makefile.unx +++ b/samples/opengl/penguin/makefile.unx @@ -12,7 +12,7 @@ OPENGL_LIBS=-lGL -lGLU #OPENGL_LIBS=-lMesaGL -lMesaGLU CPP = g++ -CC = gcc +CXX = $(shell wx-config --cxx) Penguin: penguin.o trackball.o lw.o $(CPP) -o Penguin \ @@ -26,7 +26,7 @@ lw.o: lw.cpp $(CPP) `wx-config --cxxflags` -I../../gtk -c lw.cpp trackball.o: trackball.c - $(CC) `wx-config --cxxflags` -I../../gtk -c trackball.c + $(CXX) `wx-config --cxxflags` -I../../gtk -c trackball.c clean: rm -f *.o Penguin