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