mirror of
https://github.com/Steffo99/unimore-hpc-assignments.git
synced 2024-11-23 00:24:23 +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
|