X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6164f93ca283074f4a0209ede0bc3fef3c68d996..92209a39661334baa1552f50cdbf9698053c34de:/samples/event/makefile.unx diff --git a/samples/event/makefile.unx b/samples/event/makefile.unx index f2e963d8ae..c31b23c009 100644 --- a/samples/event/makefile.unx +++ b/samples/event/makefile.unx @@ -1,7 +1,7 @@ # Purpose: makefile for event example (Unix) # Created: 2001-01-31 -CC = gcc +CXX = $(shell wx-config --cxx) PROGRAM = event @@ -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)