X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f6656ccb149683950e871b5022d2b88b03712165..32b70aec1ff90877ae0ce2ce82967f698218fbdc:/samples/sockets/makefile.unx?ds=sidebyside diff --git a/samples/sockets/makefile.unx b/samples/sockets/makefile.unx index 4c3b55127a..c17ce68d36 100644 --- a/samples/sockets/makefile.unx +++ b/samples/sockets/makefile.unx @@ -2,7 +2,7 @@ # Created: 2000-03-14 # hand hacked from template file by Ron -CC = gcc +CXX = $(shell wx-config --cxx) PROGRAMS = client server @@ -11,15 +11,15 @@ PROGRAMS = client server .SUFFIXES: .o .cpp .cpp.o : - $(CC) -c `wx-config --cxxflags` -o $@ $< + $(CXX) -c `wx-config --cxxflags` -o $@ $< all: $(PROGRAMS) client: client.o - $(CC) -o $@ $< `wx-config --libs` + $(CXX) -o $@ $< `wx-config --libs` server: server.o - $(CC) -o $@ $< `wx-config --libs` + $(CXX) -o $@ $< `wx-config --libs` clean: rm -f *.o $(PROGRAMS)