importing confparser to pikotools

git-svn-id: svn://ttmath.org/publicrep/pikotools/trunk@371 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
2012-01-12 00:24:08 +00:00
parent 67e694219d
commit f2ba48a10e
7 changed files with 1860 additions and 0 deletions

29
confparser/Makefile Executable file
View File

@@ -0,0 +1,29 @@
include Makefile.o.dep
libname=confparser.a
all: $(libname)
$(libname): $(o)
ar rcs $(libname) $(o)
.SUFFIXES: .cpp .o
.cpp.o:
$(CXX) -c $(CXXFLAGS) $<
depend:
makedepend -Y. -I.. -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 $(libname)
include Makefile.dep