parent
eb3a05ac61
commit
735e14f3aa
@ -1,15 +1,15 @@
|
||||
#CC=g++-4.2
|
||||
|
||||
chess.out: functions.o
|
||||
g++ chess.o functions.o -std=c++11
|
||||
|
||||
chess.o: chess.cpp
|
||||
g++ -c -std=c++11 chess.cpp
|
||||
|
||||
functions.o: functions.cpp functions.h
|
||||
g++ -c -std=c++11 functions.cpp
|
||||
|
||||
#
|
||||
#chess.out: functions.o
|
||||
# g++ chess.o functions.o -std=c++11
|
||||
#
|
||||
#chess.o: chess.cpp
|
||||
# g++ -c -std=c++11 chess.cpp
|
||||
#
|
||||
#functions.o: functions.cpp functions.h
|
||||
# g++ -c -std=c++11 functions.cpp
|
||||
#
|
||||
default: build
|
||||
|
||||
#build:
|
||||
# g++ -o chess.out chess.cpp -std=c++11
|
||||
build:
|
||||
g++ -o chess.out functions.cpp chess.cpp -std=c++11
|
||||
|
Loading…
Reference in new issue