X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e909371890f73eb9b3ca33d15960d9305ca1b4c2..98773c1c8b43567f385ac4e010579dff17740a51:/samples/db/makefile.unx diff --git a/samples/db/makefile.unx b/samples/db/makefile.unx index 9e69037b3d..8162466601 100644 --- a/samples/db/makefile.unx +++ b/samples/db/makefile.unx @@ -15,21 +15,21 @@ PROGRAM = dbtest -CC = gcc +CXX = $(shell wx-config --cxx) -OBJECTS = $(PROGRAM).o +OBJECTS = $(PROGRAM).o listdb.o # implementation .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)