X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5301d9333612e6d80f285752d26718475fce6c98..a2d541ca9c552d1a30ba75970968a7a220f4955a:/samples/treectrl/makefile.unx?ds=inline diff --git a/samples/treectrl/makefile.unx b/samples/treectrl/makefile.unx index 71b7088089..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 --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)