X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f6656ccb149683950e871b5022d2b88b03712165..667e2c55eab8820efc2e7dc06611724641e9bcf3:/samples/richedit/makefile.unx diff --git a/samples/richedit/makefile.unx b/samples/richedit/makefile.unx index a4f060f34b..604ae36065 100644 --- a/samples/richedit/makefile.unx +++ b/samples/richedit/makefile.unx @@ -2,7 +2,7 @@ # Created: 2000-03-14 # hand hacked from template file by Ron -CC = gcc +CXX = $(shell wx-config --cxx) PROGRAM = wxLayout @@ -13,10 +13,10 @@ OBJECTS = $(PROGRAM).o kbList.o wxllist.o wxlparser.o wxlwindow.o .SUFFIXES: .o .cpp .cpp.o : - $(CC) -c `wx-config --cxxflags` -o $@ $< + $(CXX) -c `wx-config --cxxflags` -o $@ $< $(PROGRAM): $(OBJECTS) - $(CC) -o $(PROGRAM) $(OBJECTS) `wx-config --libs` + $(CXX) -o $(PROGRAM) $(OBJECTS) `wx-config --libs` clean: rm -f *.o $(PROGRAM)