X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/273b7ed9d0727d94f80e6ac65778ceea5fd87d43..c16d276354b116475bf85a0388b4b0f545da0f82:/samples/calendar/makefile.unx diff --git a/samples/calendar/makefile.unx b/samples/calendar/makefile.unx index c67a14ad14..17fbe094e6 100644 --- a/samples/calendar/makefile.unx +++ b/samples/calendar/makefile.unx @@ -1,7 +1,7 @@ # Purpose: makefile for calendar example (Unix) # Created: 2000-01-03 -CC = gcc +CXX = $(shell wx-config --cxx) PROGRAM = calendar @@ -12,12 +12,12 @@ OBJECTS = $(PROGRAM).o .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)