]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/printing/makefile.unx
Minor corrections to native renderer. I also corrected
[wxWidgets.git] / samples / printing / makefile.unx
index 16345603c834de5baa36516c07229a5d6b9f4ff0..fc8a4663f562789b982bb9b4c794ec5717c50d1c 100644 (file)
 # under Linux.
 #
 
-CC = gcc
+CXX = $(shell wx-config --cxx)
 
 PROGRAM = printing
 
 $(PROGRAM): $(PROGRAM).o
-       $(CC) -o $(PROGRAM) \
+       $(CXX) -o $(PROGRAM) \
        $(PROGRAM).o `wx-config --libs`
 
 $(PROGRAM).o: $(PROGRAM).cpp
-       $(CC) `wx-config --cflags` -c $(PROGRAM).cpp
+       $(CXX) `wx-config --cxxflags` -c $(PROGRAM).cpp
 
 clean: 
        rm -f *.o $(PROGRAM)