X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c4fda16bb0d3b9b5fae6d289e4c3a93701fa4839..60b73526d6797ee466c272dbfca962a230bc5908:/samples/printing/makefile.unx 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)