X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/367e57ec9b921d7523c1ac3e9e3477850aaf3c66..3285ee538be44537a0d4e43252db18f5e7362782:/samples/sockets/makefile.unx diff --git a/samples/sockets/makefile.unx b/samples/sockets/makefile.unx index ba32b1fcf8..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 --cflags` -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)