X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c4f02b1fd84a243002416902530d9fed73ac7147..c5e4ef4ef28501ad537eaa4a41caf690d887dd3a:/samples/thread/makefile.unx diff --git a/samples/thread/makefile.unx b/samples/thread/makefile.unx index 43224c1264..2604c437ae 100644 --- a/samples/thread/makefile.unx +++ b/samples/thread/makefile.unx @@ -1,7 +1,7 @@ # Purpose: makefile for thread example (Unix) # Created: 2000-03-15 -CC = gcc +CXX = $(shell wx-config --cxx) PROGRAM = thread @@ -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)