Edited makefile.

This commit is contained in:
Alexander Huddleston 2015-10-29 22:46:07 -05:00
parent fffe837ce1
commit e284067123
2 changed files with 9 additions and 3 deletions

View file

@ -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);

View file

@ -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