2020-10-21 15:23:10 +02:00
|
|
|
CXX = g++
|
2020-10-21 16:29:49 +02:00
|
|
|
CXXFLAGS = -Wall -O3
|
2020-10-21 15:23:10 +02:00
|
|
|
|
2020-10-21 16:29:49 +02:00
|
|
|
gol: main.o Timing.o
|
|
|
|
$(CXX) $(CXXFLAGS) -o gol main.o Timing.o
|
2020-10-21 15:23:10 +02:00
|
|
|
|
2020-10-21 16:29:49 +02:00
|
|
|
main.o: main.cpp Timing.h
|
2020-10-21 15:23:10 +02:00
|
|
|
$(CXX) $(CXXFLAGS) -c main.cpp
|
|
|
|
|
2020-10-21 16:29:49 +02:00
|
|
|
Timing.o: Timing.h
|
|
|
|
|
2020-10-21 15:23:10 +02:00
|
|
|
clean :
|
|
|
|
-rm *.o gol
|