X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5e1962f77f7243f000a2c63c0adcf94d3876bf18..dc1efb1d9f4e4ce7d8f889dad3aaab7026b73058:/utils/glcanvas/samples/isosurf/Makefile?ds=sidebyside diff --git a/utils/glcanvas/samples/isosurf/Makefile b/utils/glcanvas/samples/isosurf/Makefile index ca096666db..97ba2a59b1 100644 --- a/utils/glcanvas/samples/isosurf/Makefile +++ b/utils/glcanvas/samples/isosurf/Makefile @@ -13,17 +13,20 @@ # CC = g++ +WXCONFIG=../../../../wx-config +WXINCLUDE=-I../../../../include +WXLIB=-L../../../../lib isosurf: isosurf.o glcanvas.o $(CC) -o isosurf \ isosurf.o glcanvas.o \ - `wx-config --libs` -lMesaGL -lMesaGLU + `$(WXCONFIG) --libs` $(WXLIB) -lMesaGL -lMesaGLU isosurf.o: isosurf.cpp - $(CC) `wx-config --cflags` -I../../gtk -c isosurf.cpp + $(CC) `$(WXCONFIG) --cflags` -I../../gtk $(WXINCLUDE) -c isosurf.cpp glcanvas.o: ../../gtk/glcanvas.cpp - $(CC) `wx-config --cflags` `gtk-config --cflags` -I../../gtk -c ../../gtk/glcanvas.cpp + $(CC) `$(WXCONFIG) --cflags` `gtk-config --cflags` -I../../gtk -c $(WXINCLUDE) ../../gtk/glcanvas.cpp clean: rm -f *.o isosurf