X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c4fda16bb0d3b9b5fae6d289e4c3a93701fa4839..c74d8df09d0c0e182cb2063cc4cc546de3a00fae:/samples/printing/makefile.unx?ds=inline diff --git a/samples/printing/makefile.unx b/samples/printing/makefile.unx index 16345603c8..fc8a4663f5 100644 --- a/samples/printing/makefile.unx +++ b/samples/printing/makefile.unx @@ -13,16 +13,16 @@ # 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)