X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e909371890f73eb9b3ca33d15960d9305ca1b4c2..4b04699b670b4ab4632229fa0264d154acd3bec1:/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)