X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/367e57ec9b921d7523c1ac3e9e3477850aaf3c66..6d9022fe3bb50a75b9b5eaf5cf32558e518ba310:/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)