X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f6656ccb149683950e871b5022d2b88b03712165..e3baff1c85af02b058ba409ea86976e6c7a45fed:/samples/treectrl/makefile.unx diff --git a/samples/treectrl/makefile.unx b/samples/treectrl/makefile.unx index 5f38c63afa..5c422e1c8f 100644 --- a/samples/treectrl/makefile.unx +++ b/samples/treectrl/makefile.unx @@ -1,9 +1,9 @@ # Purpose: makefile for treectrl example (Unix) # Created: 2000-03-15 -CC = gcc +CXX = $(shell wx-config --cxx) -PROGRAM = treectrl +PROGRAM = treetest OBJECTS = $(PROGRAM).o @@ -12,12 +12,12 @@ OBJECTS = $(PROGRAM).o .SUFFIXES: .o .cpp .cpp.o : - $(CC) -c `wx-config --cxxflags` -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)