X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/58580a7e3cf744de919827f827f14e595f8231af..c0b0635cf69537ca32377bad5650b39402cb21b6:/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 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)