Edited makefile.
This commit is contained in:
parent
fffe837ce1
commit
e284067123
2 changed files with 9 additions and 3 deletions
|
@ -251,7 +251,7 @@ public class Client {
|
|||
}
|
||||
System.out.println(String.valueOf(buffer).trim());
|
||||
window.updateBoard(String.valueOf(buffer).trim());
|
||||
while(boardoutput.length() < 4) {
|
||||
while(!end && boardoutput.length() < 4) {
|
||||
Thread.sleep(100);
|
||||
}
|
||||
System.out.println(boardoutput);
|
||||
|
|
8
makefile
8
makefile
|
@ -1,6 +1,6 @@
|
|||
# makefile
|
||||
|
||||
all: test server
|
||||
all: test server Client.class
|
||||
|
||||
server: Server.o
|
||||
g++ -std=c++11 -o server Server.o Engine.o Piece.o Board.o MNode.o
|
||||
|
@ -13,3 +13,9 @@ test: test.o
|
|||
|
||||
test.o: test.cpp Engine.cpp Board.cpp Piece.cpp MNode.cpp
|
||||
g++ -std=c++11 -c -g test.cpp Engine.cpp Board.cpp Piece.cpp MNode.cpp
|
||||
|
||||
Client.class: Client.java
|
||||
javac -g Client.java
|
||||
|
||||
clean:
|
||||
$(RM) *.class *.o
|
Reference in a new issue