X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/367e57ec9b921d7523c1ac3e9e3477850aaf3c66..f888d61444c1549c5e8a593055f0159dd07eca86:/samples/richedit/makefile.unx diff --git a/samples/richedit/makefile.unx b/samples/richedit/makefile.unx index bd016fe74a..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 --cflags` -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)