Add makefile
This commit is contained in:
19
OOP/FiveInARow/Makefile
Normal file
19
OOP/FiveInARow/Makefile
Normal file
@@ -0,0 +1,19 @@
|
||||
main: main.cpp buildChessBoard buildChessPiece buildPlayer
|
||||
g++ -std=c++11 main.cpp chessBoard.o chessPiece.o player.o -o main.out
|
||||
|
||||
buildChessBoard: chessBoard.cpp
|
||||
g++ -std=c++11 -c chessBoard.cpp
|
||||
|
||||
buildChessPiece: chessPiece.cpp
|
||||
g++ -std=c++11 -c chessPiece.cpp
|
||||
|
||||
buildPlayer: player.cpp
|
||||
g++ -std=c++11 -c player.cpp
|
||||
|
||||
clean:
|
||||
find . -name \"*.out\" | xargs rm -f
|
||||
find . -name \"*.dSYM\" | xargs rm -rf
|
||||
find . -name \"*.o\" | xargs rm -rf
|
||||
|
||||
test:
|
||||
@echo ${HOME}
|
||||
Reference in New Issue
Block a user