initial import of 'tito' library

git-svn-id: svn://ttmath.org/publicrep/tito/src@361 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
2012-01-08 04:08:02 +00:00
commit 929d5c3bca
11 changed files with 2509 additions and 0 deletions

26
Makefile Executable file
View File

@@ -0,0 +1,26 @@
include Makefile.o.dep
all: tito.a
tito.a: $(o)
ar rcs tito.a $(o)
%.o: %.cpp
$(CXX) -c $(CXXFLAGS) $<
depend:
makedepend $(CXXFLAGS) -Y. -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
rm -f *.a
include Makefile.dep