Let's keep the Makefile as simple as possible.

master
Tait Hoyem 5 years ago
parent eb3a05ac61
commit 735e14f3aa

@ -1,15 +1,15 @@
#CC=g++-4.2 #CC=g++-4.2
#
chess.out: functions.o #chess.out: functions.o
g++ chess.o functions.o -std=c++11 # g++ chess.o functions.o -std=c++11
#
chess.o: chess.cpp #chess.o: chess.cpp
g++ -c -std=c++11 chess.cpp # g++ -c -std=c++11 chess.cpp
#
functions.o: functions.cpp functions.h #functions.o: functions.cpp functions.h
g++ -c -std=c++11 functions.cpp # g++ -c -std=c++11 functions.cpp
#
default: build default: build
#build: build:
# g++ -o chess.out chess.cpp -std=c++11 g++ -o chess.out functions.cpp chess.cpp -std=c++11

Loading…
Cancel
Save