X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5301d9333612e6d80f285752d26718475fce6c98..07215d86e03dd4f80a578b4e27d01e58bf2b28dd:/samples/treectrl/makefile.unx diff --git a/samples/treectrl/makefile.unx b/samples/treectrl/makefile.unx index 71b7088089..cabc284bef 100644 --- a/samples/treectrl/makefile.unx +++ b/samples/treectrl/makefile.unx @@ -1,7 +1,7 @@ # Purpose: makefile for treectrl example (Unix) # Created: 2000-03-15 -CC = gcc +CXX = $(shell wx-config --cxx) PROGRAM = treectrl @@ -12,12 +12,12 @@ OBJECTS = $(PROGRAM).o .SUFFIXES: .o .cpp .cpp.o : - $(CC) -c `wx-config --cflags` -o $@ $< + $(CXX) -c `wx-config --cxxflags` -o $@ $< all: $(PROGRAM) $(PROGRAM): $(OBJECTS) - $(CC) -o $(PROGRAM) $(OBJECTS) `wx-config --libs` + $(CXX) -o $(PROGRAM) $(OBJECTS) `wx-config --libs` clean: rm -f *.o $(PROGRAM)