X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/367e57ec9b921d7523c1ac3e9e3477850aaf3c66..6ba5438dda164146bf36ca729f8328332fae36b7:/samples/ipc/makefile.unx diff --git a/samples/ipc/makefile.unx b/samples/ipc/makefile.unx index 594658ab9c..e344ac0881 100644 --- a/samples/ipc/makefile.unx +++ b/samples/ipc/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)