X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f6656ccb149683950e871b5022d2b88b03712165..94c162795e6ebff164bcfc7bb9aa0138dd83b194:/contrib/samples/gizmos/multicell/makefile.unx?ds=sidebyside diff --git a/contrib/samples/gizmos/multicell/makefile.unx b/contrib/samples/gizmos/multicell/makefile.unx index ae85345f2f..27d3b2952c 100644 --- a/contrib/samples/gizmos/multicell/makefile.unx +++ b/contrib/samples/gizmos/multicell/makefile.unx @@ -1,7 +1,7 @@ # Purpose: makefile for multicell example (Unix) # Created 2000-07-28 -CC = gcc +CXX = $(shell wx-config --cxx) PROGRAM = mtest @@ -13,12 +13,12 @@ EXTRAINC=-I../include .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)