HLRS-OpenMP-GPU-2024/00-worksharing/matmul/Makefile

24 lines
314 B
Makefile
Raw Normal View History

2024-04-26 13:47:20 +00:00
BIN_DIR=../bin
PROGRAM=$(BIN_DIR)/matmul
MKL_HOME=$(MKLROOT)
CC=gcc
CFLAGS=-O3 -std=gnu99 -fopenmp
LDFLAGS=-fopenmp
#VERBOSE=-DVERBOSE
all: $(PROGRAM)
$(PROGRAM): matmul.c
$(CC) $(CFLAGS) $(VERBOSE) -o $@ $^ $(LDFLAGS)
$(BIN_DIR):
mkdir $@
clean:
rm -rf $(PROGRAM) *.o
wipe: clean
rm -rf *.out *.err