mirror of
https://github.com/Steffo99/unimore-hpc-assignments.git
synced 2024-11-27 02:24:22 +00:00
14 lines
168 B
Makefile
14 lines
168 B
Makefile
# C compiler
|
|
CC = g++
|
|
CC_FLAGS = -g -fopenmp -O2
|
|
|
|
all: bfs
|
|
|
|
bfs: bfs.cpp
|
|
$(CC) $(CC_FLAGS) bfs.cpp -o bfs
|
|
|
|
clean:
|
|
rm -f bfs bfs_offload result.txt
|
|
|
|
run: bfs
|
|
./run
|