X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f6656ccb149683950e871b5022d2b88b03712165..b9efe021b554fa3967d1442cf758435c5cd5ae8f:/samples/printing/makefile.unx diff --git a/samples/printing/makefile.unx b/samples/printing/makefile.unx index 6a76b282a7..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 --cxxflags` -c $(PROGRAM).cpp + $(CXX) `wx-config --cxxflags` -c $(PROGRAM).cpp clean: rm -f *.o $(PROGRAM)