mirror of
https://github.com/Steffo99/unimore-hpc-assignments.git
synced 2024-11-23 08:34:23 +00:00
15 lines
168 B
Makefile
15 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
|