added: MainSpaceParser - starting writing a parser for main(argc, argv) arguments

(a Space object is returned)




git-svn-id: svn://ttmath.org/publicrep/pikotools/trunk@1019 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
2016-01-21 18:49:42 +00:00
parent d9b583df76
commit 7b4b576489
6 changed files with 378 additions and 1 deletions

27
mainspaceparser/Makefile Normal file
View File

@@ -0,0 +1,27 @@
include Makefile.o.dep
libname=mainspaceparser.a
all: $(libname)
$(libname): $(o)
$(AR) rcs $(libname) $(o)
%.o: %.cpp
$(CXX) -c $(CXXFLAGS) -I.. $<
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