]> git.saurik.com Git - wxWidgets.git/blobdiff - utils/glcanvas/samples/isosurf/Makefile
Some Motif fixes; makefile fixes; added wxTransferStreamToFile/FileToStream for wxWin
[wxWidgets.git] / utils / glcanvas / samples / isosurf / Makefile
index ca096666db8bb2387d5e62915fe1bb9906090300..97ba2a59b1774edf37c831e24ad732f278b4005f 100644 (file)
 #
 
 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