]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/printing/makefile.unx
generated makefiles after qa library creation
[wxWidgets.git] / samples / printing / makefile.unx
index 6a76b282a77475ee273a362db621958e736c5633..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 --cxxflags` -c $(PROGRAM).cpp
+       $(CXX) `wx-config --cxxflags` -c $(PROGRAM).cpp
 
 clean: 
        rm -f *.o $(PROGRAM)