X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c4fda16bb0d3b9b5fae6d289e4c3a93701fa4839..f4cf4fdab2727577d02efdcff3f1773edf2262f0:/samples/printing/makefile.unx?ds=sidebyside 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)