game-of-life-cpp/Makefile

14 lines
206 B
Makefile
Raw Normal View History

2020-10-21 15:23:10 +02:00
CXX = g++
CXXFLAGS = -fopenmp -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