change makefile and gitignore for tools

This commit is contained in:
bookug 2016-03-11 15:04:23 +08:00
parent fa279133df
commit 44303228c6
2 changed files with 4 additions and 5 deletions

View File

@ -235,9 +235,7 @@ $(objdir)Client.o: Server/Client.cpp Server/Client.h $(objdir)Socket.o $(objdir)
lib_antlr:
rm -rf tools/libantlr3c-3.4/
cd tools; tar -zxvf libantlr3c-3.4.tar.gz;
cd tools; cd libantlr3c-3.4/; ./configure -enable-64bit; make;
cd tools/libantlr3c-3.4/; ./configure -enable-64bit; make;
rm -rf lib/libantlr.a
ar -crv lib/libantlr.a tools/libantlr3c-3.4/*.o
@ -261,7 +259,7 @@ clean:
dist: clean
rm -rf *.nt *.n3 .debug/*.log .tmp/*.dat *.txt *.db *.tar.gz
rm -rf tools/libantlr3c-3.4 lib/libantlr.a
rm -rf lib/libantlr.a #tools/libantlr3c-3.4
tarball:
tar -czvf devGstore.tar.gz Main Bstr lib tools .debug .tmp .objs Server Triple test docs bin data\

3
tools/.gitignore vendored
View File

@ -1,4 +1,5 @@
*
!.gitignore
!libantlr3c-3.4.tar.gz
#!libantlr3c-3.4.tar.gz
#!libantlr3c-3.4/*