fix: incomplete dependency in makefile, now multithreading compilation is supported well

This commit is contained in:
bookug 2018-11-01 14:54:28 +08:00
parent 85036168c6
commit 8bf7a27dc4
2 changed files with 4 additions and 4 deletions

View File

@ -20,8 +20,9 @@ This system is really user-friendly and you can pick it up in several minutes. R
- fork this repository in your github account
Then you need to compile the project, just type `make` in the gStore root directory, then all executables will be generated.
(For faster compiling speed, use `make -j4` instead)
Then you need to compile the project, for the first time you need to type `make pre` to prepare the `ANTLR` library and some Lexer/Parser programs.
Later you do not need to type this command again, just use the `make` command in the home directory of gStore, then all executables will be generated.
(For faster compiling speed, use `make -j4` instead, using how many threads is up to your machine)
To check the correctness of the program, please type `make test` command.
The first strategy is suggested to get the source code because you can easily acquire the updates of the code by typing `git pull` in the home directory of gStore repository.

View File

@ -523,7 +523,7 @@ test:
@bin/update_test > /dev/null
clean:
rm -rf lib/libantlr.a
#rm -rf lib/libantlr.a
$(MAKE) -C api/socket/cpp/src clean
$(MAKE) -C api/socket/cpp/example clean
$(MAKE) -C api/socket/java/src clean
@ -543,7 +543,6 @@ clean:
dist: clean
rm -rf *.nt *.n3 .debug/*.log .tmp/*.dat *.txt *.db
rm -rf tools/libantlr3c-3.4 lib/libantlr.a Parser/Sparql*
#rm -rf Parser/SparqlLexer* Parser/SparlParser.cpp
rm -rf cscope* .cproject .settings tags
rm -rf *.info
rm -rf backups/*.db