You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
393 B
20 lines
393 B
#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
|
|
#
|
|
default: build
|
|
release: optimized
|
|
|
|
optimized:
|
|
g++ -std=c++11 -O2 -Wall -o chess.out functions.cpp chess.cpp
|
|
|
|
build:
|
|
g++ -Wall -o chess_unoptimized.out functions.cpp chess.cpp -std=c++11
|