but with a Clear() method the dynamic allocated buffer can be easily reused added: DbTextStream a special version of a stream used to create a database string query everything is escaped by default added: DbBase a base class with some basic methods for communicating with the database added: DbConn a class for managing connection to the database changed: some refactoring in Db class git-svn-id: svn://ttmath.org/publicrep/winix/trunk@655 e52654a7-88a9-db11-a3e9-0013d4bc506e
23 lines
338 B
Makefile
Executable File
23 lines
338 B
Makefile
Executable File
include Makefile.o.dep
|
|
|
|
|
|
all: $(o)
|
|
|
|
|
|
.SUFFIXES: .cpp .o
|
|
|
|
.cpp.o:
|
|
$(CXX) -c $(CXXFLAGS) $<
|
|
|
|
|
|
|
|
depend:
|
|
makedepend -Y. -I.. -I../../ezc/src -f- *.cpp > Makefile.dep
|
|
echo -n "o = " > Makefile.o.dep
|
|
ls -1 *.cpp | xargs -I foo echo -n foo " " | sed -E "s/([^\.]*)\.cpp[ ]/\1\.o/g" >> Makefile.o.dep
|
|
|
|
clean:
|
|
rm -f *.o
|
|
|
|
include Makefile.dep
|