X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/58580a7e3cf744de919827f827f14e595f8231af..ec75509f94fb11322c1c69056d1ec2af8f041fe2:/contrib/samples/gizmos/multicell/makefile.unx diff --git a/contrib/samples/gizmos/multicell/makefile.unx b/contrib/samples/gizmos/multicell/makefile.unx index a83e732862..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 --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)